update eslint rules

This commit is contained in:
undefined committed 2026-03-30 15:54:18 +08:00
1 parent 34b72d67d3
commit e66a6cdffb
3 files changed
+11 -6

No files matched your search

+4
View File
@@ -57,6 +57,10 @@ const base = (option, ...args) => antfu(
curly: ['error', 'multi-line'],
'default-param-last': 'off',
'dot-notation': 0,
'e18e/prefer-array-some': 'off',
'e18e/prefer-array-to-sorted': 'off',
'e18e/prefer-static-regex': 'off',
'eslint-comments/no-unlimited-disable': 'off',
'func-names': 0,
'function-call-argument-newline': 0,
+6 -6
View File
@@ -5,16 +5,16 @@
"main": "base.mjs",
"repository": "https://github.com/hydro-dev/Hydro",
"dependencies": {
"@antfu/eslint-config": "^7.6.1",
"@eslint-react/eslint-plugin": "^2.13.0",
"@typescript-eslint/eslint-plugin": "^8.56.1",
"@typescript-eslint/parser": "^8.56.1",
"eslint-plugin-de-morgan": "^2.0.0",
"@antfu/eslint-config": "^7.7.3",
"@eslint-react/eslint-plugin": "^3.0.0",
"@typescript-eslint/eslint-plugin": "^8.57.2",
"@typescript-eslint/parser": "^8.57.2",
"eslint-plugin-de-morgan": "^2.1.1",
"eslint-plugin-github": "^6.0.0",
"eslint-plugin-react-hooks": "^7.0.1",
"eslint-plugin-react-refresh": "^0.5.2",
"eslint-plugin-simple-import-sort": "^12.1.1",
"globals": "^17.3.0"
"globals": "^17.4.0"
},
"peerDependencies": {
"eslint": ">= 9"