diff --git a/cspell.yaml b/cspell.yaml new file mode 100644 index 0000000..bc8f5cb --- /dev/null +++ b/cspell.yaml @@ -0,0 +1,8 @@ +ignoreRegExpList: + - /.*[0-9].*/ +language: en +version: '0.2' +words: + - gajus + - kuizinas + - gitdown \ No newline at end of file diff --git a/package.json b/package.json index 44d7d90..7e67ffe 100644 --- a/package.json +++ b/package.json @@ -68,6 +68,7 @@ "build": "rm -fr ./dist && tsc --project ./tsconfig.build.json", "generate": "gitdown ./.README/README.md --output-file ./README.md && tsx ./src/bin/addAssertions", "lint": "eslint .", + "prepare": "husky install", "test": "mocha --require tsx './tests/rules/*'" }, "version": "0.0.0-development" diff --git a/src/rules/sortReactDependencies.ts b/src/rules/sortReactDependencies.ts index 79141e8..2f09589 100644 --- a/src/rules/sortReactDependencies.ts +++ b/src/rules/sortReactDependencies.ts @@ -18,7 +18,7 @@ const messages = { export default createRule({ create: (context, [options]) => { - const { caseSensitive = true, order = 'asc' } = options; + const { order = 'asc' } = options; return { CallExpression(node) {