diff options
author | Baitinq <manuelpalenzuelamerino@gmail.com> | 2024-06-02 23:54:15 +0200 |
---|---|---|
committer | Baitinq <manuelpalenzuelamerino@gmail.com> | 2024-06-02 23:54:15 +0200 |
commit | 39eac64b58fb2b1a25ed016bb9637e0bf3c01a11 (patch) | |
tree | 4fca914e01ed6dec7bc322f5f2e97814ed8dda4a /.eslintrc.cjs | |
download | fs-tracer-frontend-39eac64b58fb2b1a25ed016bb9637e0bf3c01a11.tar.gz fs-tracer-frontend-39eac64b58fb2b1a25ed016bb9637e0bf3c01a11.tar.bz2 fs-tracer-frontend-39eac64b58fb2b1a25ed016bb9637e0bf3c01a11.zip |
Initial commit
Diffstat (limited to '.eslintrc.cjs')
-rw-r--r-- | .eslintrc.cjs | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/.eslintrc.cjs b/.eslintrc.cjs new file mode 100644 index 0000000..d6c9537 --- /dev/null +++ b/.eslintrc.cjs @@ -0,0 +1,18 @@ +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 }, + ], + }, +} |