23 lines
689 B
JavaScript
23 lines
689 B
JavaScript
module.exports = {
|
|
root: true,
|
|
env: { node: true, es2022: true },
|
|
parser: '@typescript-eslint/parser',
|
|
parserOptions: { ecmaVersion: 'latest', sourceType: 'module', ecmaFeatures: { jsx: true } },
|
|
plugins: ['@typescript-eslint', 'react', 'react-hooks'],
|
|
extends: [
|
|
'eslint:recommended',
|
|
'plugin:@typescript-eslint/recommended',
|
|
'plugin:react/recommended',
|
|
'plugin:react-hooks/recommended',
|
|
'prettier',
|
|
],
|
|
settings: { react: { version: 'detect' } },
|
|
ignorePatterns: ['dist/**', 'node_modules/**'],
|
|
rules: {
|
|
'react/react-in-jsx-scope': 'off',
|
|
'@typescript-eslint/no-explicit-any': 'off',
|
|
'@typescript-eslint/ban-ts-comment': 'off',
|
|
},
|
|
}
|
|
|