diff --git a/.lintstagedrc b/.lintstagedrc new file mode 100644 index 0000000..c4d0a50 --- /dev/null +++ b/.lintstagedrc @@ -0,0 +1,4 @@ +{ + "gitDir": "./.git", + "*": "eslint --fix" +} diff --git a/jsconfig.json b/jsconfig.json index 575ecdc..7f2ebcc 100644 --- a/jsconfig.json +++ b/jsconfig.json @@ -1,23 +1,24 @@ { - "compilerOptions": { - "checkJs": true, - "allowJs": true, - "esModuleInterop": true, - "forceConsistentCasingInFileNames": true, - "moduleResolution": "node", - "skipLibCheck": true, - "sourceMap": true, - "strict": true, - "module": "ES2022", - "target": "ES2022", - "alwaysStrict": true - }, - "include": [ - "./src/**/*.js", - "./eslint.config.js" - ], - "exclude": [ - "./node_modules/**", - ".dist" - ] + "compilerOptions": { + "checkJs": true, + "allowJs": true, + "esModuleInterop": true, + "forceConsistentCasingInFileNames": true, + "moduleResolution": "node", + "skipLibCheck": true, + "sourceMap": true, + "strict": true, + "module": "ES2022", + "target": "ES2022", + "alwaysStrict": true + }, + "include": [ + "./src/**/*.js", + "./test/**/*.js", + "./eslint.config.js" + ], + "exclude": [ + "./node_modules/**", + ".dist" + ] }