|
@@ -1,34 +1,30 @@
|
|
|
module.exports = {
|
|
|
env: {
|
|
|
- es6: true
|
|
|
+ es6: true,
|
|
|
},
|
|
|
globals: {
|
|
|
Atomics: 'readonly',
|
|
|
- SharedArrayBuffer: 'readonly'
|
|
|
+ SharedArrayBuffer: 'readonly',
|
|
|
},
|
|
|
parser: '@typescript-eslint/parser',
|
|
|
parserOptions: {
|
|
|
ecmaFeatures: {
|
|
|
- jsx: true
|
|
|
+ jsx: true,
|
|
|
},
|
|
|
ecmaVersion: 2019,
|
|
|
- sourceType: 'module'
|
|
|
+ sourceType: 'module',
|
|
|
},
|
|
|
extends: [
|
|
|
'plugin:react/recommended',
|
|
|
'standard',
|
|
|
'plugin:jsx-a11y/recommended',
|
|
|
-
|
|
|
+
|
|
|
'plugin:prettier/recommended',
|
|
|
'prettier/react',
|
|
|
- 'prettier/standard'
|
|
|
+ 'prettier/standard',
|
|
|
],
|
|
|
- plugins: ['react', 'react-hooks'],
|
|
|
- rules: {
|
|
|
- 'react-hooks/rules-of-hooks': 'error',
|
|
|
- 'react-hooks/exhaustive-deps': 'warn'
|
|
|
- },
|
|
|
+ plugins: [],
|
|
|
settings: {
|
|
|
- version: 'detect'
|
|
|
- }
|
|
|
-}
|
|
|
+ version: 'detect',
|
|
|
+ },
|
|
|
+};
|