chore: bump oxlint & enable more supported rules (#14769)

This commit is contained in:
DarkSky
2026-04-03 03:36:52 +08:00
committed by GitHub
parent cdadf8588a
commit 233004f867
285 changed files with 937 additions and 1983 deletions

View File

@@ -21,7 +21,6 @@
},
"dependencies": {
"@affine/debug": "workspace:*",
"@affine/electron-api": "workspace:*",
"@affine/error": "workspace:*",
"@affine/graphql": "workspace:*",
"@affine/i18n": "workspace:*",
@@ -51,7 +50,6 @@
"check-password-strength": "^3.0.0",
"clsx": "^2.1.1",
"dayjs": "^1.11.13",
"emoji-mart": "^5.6.0",
"emojibase-data": "^16.0.3",
"foxact": "^0.2.49",
"jotai": "^2.10.3",
@@ -72,7 +70,6 @@
},
"devDependencies": {
"@affine-tools/utils": "workspace:*",
"@blocksuite/affine": "workspace:*",
"@storybook/react": "^10.2.14",
"@storybook/react-vite": "^10.2.14",
"@testing-library/dom": "^10.4.0",

View File

@@ -216,7 +216,7 @@ export const OnboardingPage = ({
],
};
// eslint-disable-next-line @typescript-eslint/no-floating-promises
// oxlint-disable-next-line @typescript-eslint/no-floating-promises
fetch('/api/worker/questionnaire', {
method: 'POST',
body: JSON.stringify(answer),

View File

@@ -13,11 +13,9 @@
},
"references": [
{ "path": "../../common/debug" },
{ "path": "../electron-api" },
{ "path": "../../common/error" },
{ "path": "../../common/graphql" },
{ "path": "../i18n" },
{ "path": "../../../tools/utils" },
{ "path": "../../../blocksuite/affine/all" }
{ "path": "../../../tools/utils" }
]
}