diff --git a/Cunkebao/.eslintrc.js b/Cunkebao/.eslintrc.js deleted file mode 100644 index 72eb95a9..00000000 --- a/Cunkebao/.eslintrc.js +++ /dev/null @@ -1,40 +0,0 @@ -module.exports = { - root: true, - parser: '@typescript-eslint/parser', - plugins: ['@typescript-eslint', 'react'], - extends: [ - 'eslint:recommended', - 'plugin:react/recommended', - 'plugin:@typescript-eslint/recommended', - 'react-app', - 'react-app/jest', - ], - env: { - browser: true, - es2021: true, - node: true, - }, - settings: { - react: { - version: 'detect', - }, - }, - parserOptions: { - ecmaFeatures: { - jsx: true, - }, - ecmaVersion: 'latest', - sourceType: 'module', - }, - rules: { - 'react/react-in-jsx-scope': 'off', - '@typescript-eslint/no-unused-vars': [ - 'warn', - { argsIgnorePattern: '^_', varsIgnorePattern: '^_' } - ], - 'react/prop-types': 'off', - 'no-console': 'warn', - 'no-debugger': 'warn', - }, - ignorePatterns: ['node_modules/', 'build/', 'dist/'], -}; \ No newline at end of file