lint: move some more rules to oxlint/oxfmt and upgrade linter versions (#6398)

This commit is contained in:
Matiss Janis Aboltins
2025-12-13 22:41:21 +00:00
committed by GitHub
parent 7648446bbf
commit 094da46fb0
44 changed files with 338 additions and 331 deletions

View File

@@ -1,5 +1,5 @@
// This is temporary until we move all loot-core/client over to desktop-client.
// eslint-disable-next-line no-restricted-imports
// oxlint-disable-next-line eslint/no-restricted-imports
import { Modal } from '@actual-app/web/src/modals/modalsSlice';
import { v4 as uuidv4 } from 'uuid';

View File

@@ -1,7 +1,7 @@
// @ts-strict-ignore
import { patchFetchForSqlJS } from '../../../mocks/util';
// eslint-disable-next-line no-restricted-imports
// oxlint-disable-next-line eslint/no-restricted-imports
import {
init,
openDatabase,

View File

@@ -5,13 +5,13 @@
"declaration": true,
"emitDeclarationOnly": true,
"allowJs": false,
"noEmit": false
"noEmit": false,
},
"include": ["./typings", "./src/server/*"],
"exclude": [
"**/node_modules/*",
"**/build/*",
"**/lib-dist/*",
"./src/server/bench.ts"
]
"./src/server/bench.ts",
],
}