Remove semicolons.

This commit is contained in:
John-David Dalton
2017-02-04 23:50:10 -08:00
parent f3a8e55e70
commit 6cb3460fce
452 changed files with 4261 additions and 4261 deletions

View File

@@ -1,5 +1,5 @@
import createCompounder from './.internal/createCompounder.js';
import upperFirst from './upperFirst.js';
import createCompounder from './.internal/createCompounder.js'
import upperFirst from './upperFirst.js'
/**
* Converts `string` to
@@ -12,17 +12,17 @@ import upperFirst from './upperFirst.js';
* @see camelCase, lowerCase, kebabCase, snakeCase, upperCase, upperFirst
* @example
*
* startCase('--foo-bar--');
* startCase('--foo-bar--')
* // => 'Foo Bar'
*
* startCase('fooBar');
* startCase('fooBar')
* // => 'Foo Bar'
*
* startCase('__FOO_BAR__');
* startCase('__FOO_BAR__')
* // => 'FOO BAR'
*/
const startCase = createCompounder((result, word, index) =>
result + (index ? ' ' : '') + upperFirst(word)
);
)
export default startCase;
export default startCase