2022-07-07 09:13:43 +00:00
|
|
|
module.exports = {
|
2022-07-07 09:14:45 +00:00
|
|
|
env: {
|
|
|
|
browser: true,
|
|
|
|
es2021: true,
|
2022-07-07 09:13:43 +00:00
|
|
|
},
|
2022-07-07 09:14:45 +00:00
|
|
|
extends: [
|
|
|
|
'eslint:recommended',
|
|
|
|
'plugin:react/recommended',
|
|
|
|
'plugin:@typescript-eslint/recommended',
|
|
|
|
'plugin:react/jsx-runtime',
|
2022-07-07 09:13:43 +00:00
|
|
|
],
|
2022-07-07 09:14:45 +00:00
|
|
|
parser: '@typescript-eslint/parser',
|
|
|
|
parserOptions: {
|
|
|
|
ecmaFeatures: {
|
|
|
|
jsx: true,
|
2022-07-07 09:13:43 +00:00
|
|
|
},
|
2022-07-07 09:14:45 +00:00
|
|
|
ecmaVersion: 'latest',
|
|
|
|
sourceType: 'module',
|
2022-07-07 09:13:43 +00:00
|
|
|
},
|
2022-07-07 09:14:45 +00:00
|
|
|
plugins: ['react', '@typescript-eslint'],
|
|
|
|
rules: {
|
|
|
|
'@typescript-eslint/no-non-null-assertion': 'off',
|
2022-07-07 09:13:43 +00:00
|
|
|
},
|
2022-07-07 09:14:45 +00:00
|
|
|
};
|