21 lines
540 B
JavaScript
21 lines
540 B
JavaScript
module.exports = {
|
|
root: true,
|
|
env: {
|
|
browser: true,
|
|
es2021: true,
|
|
node: true,
|
|
},
|
|
extends: [
|
|
'react-app',
|
|
'plugin:react/recommended',
|
|
'plugin:@typescript-eslint/recommended',
|
|
'plugin:prettier/recommended',
|
|
],
|
|
parser: '@typescript-eslint/parser',
|
|
plugins: ['react', '@typescript-eslint', 'prettier'],
|
|
rules: {
|
|
'prettier/prettier': 'warn',
|
|
'react/react-in-jsx-scope': 'off',
|
|
'@typescript-eslint/no-unused-vars': 'warn',
|
|
},
|
|
};
|