diff options
Diffstat (limited to '.eslintrc.cjs')
| -rw-r--r-- | .eslintrc.cjs | 33 |
1 files changed, 17 insertions, 16 deletions
diff --git a/.eslintrc.cjs b/.eslintrc.cjs index d6c9537..d6b088c 100644 --- a/.eslintrc.cjs +++ b/.eslintrc.cjs @@ -1,18 +1,19 @@ module.exports = { - root: true, - env: { browser: true, es2020: true }, - extends: [ - 'eslint:recommended', - 'plugin:@typescript-eslint/recommended', - 'plugin:react-hooks/recommended', - ], - ignorePatterns: ['dist', '.eslintrc.cjs'], - parser: '@typescript-eslint/parser', - plugins: ['react-refresh'], - rules: { - 'react-refresh/only-export-components': [ - 'warn', - { allowConstantExport: true }, - ], - }, + root: true, + env: { browser: true, es2020: true }, + extends: [ + 'eslint:recommended', + 'plugin:@typescript-eslint/recommended', + 'plugin:react-hooks/recommended', + ], + ignorePatterns: ['dist', '.eslintrc.cjs'], + parser: '@typescript-eslint/parser', + plugins: ['react-refresh'], + rules: { + "semi": ["warn", "always"], + 'react-refresh/only-export-components': [ + 'warn', + { allowConstantExport: true }, + ], + }, } |
