33 lines
801 B
JavaScript
33 lines
801 B
JavaScript
module.exports = {
|
|
parser: '@typescript-eslint/parser',
|
|
env: {
|
|
browser: true,
|
|
es6: true,
|
|
},
|
|
extends: ['plugin:@typescript-eslint/recommended', 'react-app'],
|
|
globals: {
|
|
Atomics: 'readonly',
|
|
SharedArrayBuffer: 'readonly',
|
|
},
|
|
parserOptions: {
|
|
ecmaFeatures: {
|
|
jsx: true,
|
|
impliedStrict: true
|
|
},
|
|
ecmaVersion: 2019,
|
|
sourceType: 'module',
|
|
},
|
|
plugins: [
|
|
'react',
|
|
],
|
|
rules: {
|
|
"no-useless-constructor": "off",
|
|
"@typescript-eslint/indent": "off",
|
|
"@typescript-eslint/no-empty-interface": "off",
|
|
"@typescript-eslint/no-non-null-assertion": "off",
|
|
"@typescript-eslint/no-parameter-properties": "off",
|
|
"@typescript-eslint/explicit-member-accessibility": "off",
|
|
"no-restricted-properties": "off"
|
|
},
|
|
};
|