|
@@ -25,16 +25,10 @@ module.exports = {
|
|
|
'plugin:react/recommended',
|
|
|
|
|
|
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
- 'prettier',
|
|
|
+ 'plugin:prettier/recommended',
|
|
|
'prettier/@typescript-eslint',
|
|
|
'prettier/react',
|
|
|
'prettier/standard',
|
|
|
-
|
|
|
-
|
|
|
- 'plugin:prettier/recommended',
|
|
|
],
|
|
|
settings: {
|
|
|
react: {
|
|
@@ -46,5 +40,11 @@ module.exports = {
|
|
|
'react-hooks/rules-of-hooks': 'error',
|
|
|
'react-hooks/exhaustive-deps': 'warn',
|
|
|
},
|
|
|
- plugins: ['standard', '@typescript-eslint', 'react', 'react-hooks'],
|
|
|
+ plugins: [
|
|
|
+ 'standard',
|
|
|
+ '@typescript-eslint',
|
|
|
+ 'react',
|
|
|
+ 'react-hooks',
|
|
|
+ 'prettier',
|
|
|
+ ],
|
|
|
}
|