workspace: upgrade to mantine@9 and cordis@4-rc

This commit is contained in:
undefined committed 2026-04-04 06:47:46 +08:00
1 parent 19d278f6ef
commit d01dbc6e20
23 files changed
+93 -90

No files matched your search

+1 -2
View File
@@ -33,6 +33,7 @@ const base = (option, ...args) => antfu(
lessOpinionated: true,
plugins: {
'@eslint-react': eslintReact,
github,
'react-refresh': reactRefresh,
'simple-import-sort': simpleImportSort,
...(option.plugins || {}),
@@ -68,7 +69,6 @@ const base = (option, ...args) => antfu(
'func-names': 0,
'function-call-argument-newline': 0,
'function-paren-newline': 0,
'github/a11y-svg-has-accessible-name': 0,
'github/array-foreach': 1,
'global-require': 0,
'guard-for-in': 0,
@@ -338,7 +338,6 @@ const base = (option, ...args) => antfu(
...(typeof option.stylistic === 'object' ? option.stylistic : {}),
},
},
github.getFlatConfigs().react,
deMorgan.configs.recommended,
...((option.vue ?? true) ? [{
files: ['**/*.vue'],
+4 -4
View File
@@ -5,10 +5,10 @@
"main": "base.mjs",
"repository": "https://github.com/hydro-dev/Hydro",
"dependencies": {
"@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",
"@antfu/eslint-config": "^8.0.0",
"@eslint-react/eslint-plugin": "^4.2.3",
"@typescript-eslint/eslint-plugin": "^8.58.0",
"@typescript-eslint/parser": "^8.58.0",
"eslint-plugin-de-morgan": "^2.1.1",
"eslint-plugin-github": "^6.0.0",
"eslint-plugin-react-hooks": "^7.0.1",