2023-12-15 03:13:56 +00:00
|
|
|
/* eslint-env commonjs */
|
2023-05-17 01:56:27 +00:00
|
|
|
module.exports = {
|
|
|
|
env: { browser: true, es2020: true },
|
|
|
|
extends: [
|
|
|
|
'eslint:recommended',
|
|
|
|
'plugin:@typescript-eslint/recommended',
|
|
|
|
'plugin:react-hooks/recommended',
|
|
|
|
],
|
|
|
|
parser: '@typescript-eslint/parser',
|
|
|
|
parserOptions: { ecmaVersion: 'latest', sourceType: 'module' },
|
|
|
|
plugins: ['react-refresh'],
|
|
|
|
rules: {
|
2023-12-15 03:13:56 +00:00
|
|
|
'@typescript-eslint/no-explicit-any': 'off',
|
|
|
|
'react-hooks/exhaustive-deps': 'off',
|
2023-05-17 01:56:27 +00:00
|
|
|
'react-refresh/only-export-components': 'warn',
|
2023-12-15 03:13:56 +00:00
|
|
|
'no-regex-spaces': 'off',
|
2023-05-17 01:56:27 +00:00
|
|
|
},
|
|
|
|
}
|