|
|
@@ -1,25 +1,13 @@
|
|
|
-/* eslint-env node */
|
|
|
-
|
|
|
module.exports = {
|
|
|
env: { browser: true, es2020: true },
|
|
|
extends: [
|
|
|
- 'plugin:@typescript-eslint/recommended-requiring-type-checking',
|
|
|
- 'plugin:react-hooks/recommended',
|
|
|
+ 'weseek/react',
|
|
|
],
|
|
|
- parser: '@typescript-eslint/parser',
|
|
|
- parserOptions: {
|
|
|
- ecmaVersion: 'latest',
|
|
|
- sourceType: 'module',
|
|
|
- project: true,
|
|
|
- tsconfigRootDir: __dirname,
|
|
|
- },
|
|
|
plugins: ['react-refresh'],
|
|
|
rules: {
|
|
|
- 'import/no-absolute-path': 'off',
|
|
|
'react-refresh/only-export-components': [
|
|
|
'warn',
|
|
|
{ allowConstantExport: true },
|
|
|
],
|
|
|
- '@typescript-eslint/no-non-null-assertion': 'off',
|
|
|
},
|
|
|
-}
|
|
|
+};
|