diff options
author | Elizabeth Hunt <elizabeth.hunt@simponic.xyz> | 2024-03-01 16:07:16 -0700 |
---|---|---|
committer | Elizabeth Hunt <elizabeth.hunt@simponic.xyz> | 2024-03-01 16:07:16 -0700 |
commit | 17e95224a083ccd9e522f8712bb10846a2dada8a (patch) | |
tree | 0f9e58c0974129ce712af1d695980ccd498aa2cf /.eslintrc.cjs | |
download | the-abstraction-engine-17e95224a083ccd9e522f8712bb10846a2dada8a.tar.gz the-abstraction-engine-17e95224a083ccd9e522f8712bb10846a2dada8a.zip |
add assets, vite init
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 }, + ], + }, +} |