diff --git a/.internal/stringSize.js b/.internal/stringSize.js index 77315e7c6..328b22695 100644 --- a/.internal/stringSize.js +++ b/.internal/stringSize.js @@ -10,9 +10,7 @@ import unicodeSize from './.internal/unicodeSize.js'; * @returns {number} Returns the string size. */ function stringSize(string) { - return hasUnicode(string) - ? unicodeSize(string) - : asciiSize(string); + return hasUnicode(string) ? unicodeSize(string) : asciiSize(string); } export default stringSize; diff --git a/kebabCase.js b/kebabCase.js index e35ec02a4..75abd3f65 100644 --- a/kebabCase.js +++ b/kebabCase.js @@ -19,6 +19,8 @@ import createCompounder from './.internal/createCompounder.js'; * kebabCase('__FOO_BAR__'); * // => 'foo-bar' */ -const kebabCase = createCompounder((result, word, index) => result + (index ? '-' : '') + word.toLowerCase()); +const kebabCase = createCompounder((result, word, index) => + result + (index ? '-' : '') + word.toLowerCase() +); export default kebabCase; diff --git a/lowerCase.js b/lowerCase.js index 6d77e2c22..ae5adb05d 100644 --- a/lowerCase.js +++ b/lowerCase.js @@ -18,6 +18,8 @@ import createCompounder from './.internal/createCompounder.js'; * lowerCase('__FOO_BAR__'); * // => 'foo bar' */ -const lowerCase = createCompounder((result, word, index) => result + (index ? ' ' : '') + word.toLowerCase()); +const lowerCase = createCompounder((result, word, index) => + result + (index ? ' ' : '') + word.toLowerCase() +); export default lowerCase; diff --git a/startCase.js b/startCase.js index b1973aa45..94fded395 100644 --- a/startCase.js +++ b/startCase.js @@ -20,6 +20,8 @@ import upperFirst from './upperFirst.js'; * startCase('__FOO_BAR__'); * // => 'FOO BAR' */ -const startCase = createCompounder((result, word, index) => result + (index ? ' ' : '') + upperFirst(word)); +const startCase = createCompounder((result, word, index) => + result + (index ? ' ' : '') + upperFirst(word) +); export default startCase;