25 lines
499 B
JavaScript
25 lines
499 B
JavaScript
module.exports = {
|
|
root: true,
|
|
parser: '@typescript-eslint/parser',
|
|
parserOptions: {
|
|
ecmaVersion: 'latest',
|
|
sourceType: 'module'
|
|
},
|
|
settings: {
|
|
react: {
|
|
version: 'detect'
|
|
}
|
|
},
|
|
plugins: ['@typescript-eslint', 'react', 'react-hooks'],
|
|
extends: [
|
|
'eslint:recommended',
|
|
'plugin:react/recommended',
|
|
'plugin:react-hooks/recommended',
|
|
'plugin:@typescript-eslint/recommended',
|
|
'prettier'
|
|
],
|
|
rules: {
|
|
'react/react-in-jsx-scope': 'off'
|
|
}
|
|
};
|