2024-02-27 14:03:15 +00:00
|
|
|
module.exports = {
|
|
|
|
root: true,
|
|
|
|
env: { browser: true, es2020: true },
|
|
|
|
extends: [
|
|
|
|
'eslint:recommended',
|
|
|
|
'plugin:@typescript-eslint/recommended',
|
2024-02-28 16:49:44 +00:00
|
|
|
'plugin:react-hooks/recommended'
|
2024-02-27 14:03:15 +00:00
|
|
|
],
|
2024-08-06 14:17:24 +00:00
|
|
|
ignorePatterns: ['dist', '.eslintrc.cjs', 'licenseChecker.cjs'],
|
2024-02-27 14:03:15 +00:00
|
|
|
parser: '@typescript-eslint/parser',
|
|
|
|
plugins: ['react-refresh'],
|
|
|
|
rules: {
|
|
|
|
'react-refresh/only-export-components': [
|
|
|
|
'warn',
|
2024-02-28 16:49:44 +00:00
|
|
|
{ allowConstantExport: true }
|
2024-02-27 14:03:15 +00:00
|
|
|
],
|
2024-02-28 16:49:44 +00:00
|
|
|
'@typescript-eslint/no-explicit-any': 'warn'
|
|
|
|
}
|
2024-02-27 14:03:15 +00:00
|
|
|
}
|