Yuki Takei 2 лет назад
Родитель
Сommit
e5f43a2f0d
2 измененных файлов с 2 добавлено и 15 удалено
  1. 0 1
      packages/editor/.eslintignore
  2. 2 14
      packages/editor/.eslintrc.cjs

+ 0 - 1
packages/editor/.eslintignore

@@ -1,3 +1,2 @@
 /dist/**
 vite-env.d.ts
-vite.config.ts

+ 2 - 14
packages/editor/.eslintrc.cjs

@@ -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',
   },
-}
+};