style: improve code formatting and consistency in ESLint configuration and React components

This commit is contained in:
samanhappy
2025-04-01 17:05:09 +08:00
parent f48c68c134
commit 88455dc4cf
2 changed files with 23 additions and 21 deletions

View File

@@ -1,9 +1,6 @@
{
"parser": "@typescript-eslint/parser",
"extends": [
"eslint:recommended",
"plugin:@typescript-eslint/recommended"
],
"extends": ["eslint:recommended", "plugin:@typescript-eslint/recommended"],
"parserOptions": {
"ecmaVersion": 2020,
"sourceType": "module"
@@ -14,6 +11,7 @@
"jest": true
},
"rules": {
"no-console": "off"
"no-console": "off",
"no-undef": "off"
}
}