Merge branch 'yongpxu-dev' into develop

This commit is contained in:
笔记本里的永平
2025-07-17 16:49:28 +08:00

View File

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