Skip to content

A local-first personal finance app

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

Matiss Janis Aboltins094da46fb0ba
diff --git a/.github/workflows/docs-release.yml b/.github/workflows/docs-release.yml
index 1ec6405414..8f880441ed 100644
--- a/.github/workflows/docs-release.yml
+++ b/.github/workflows/docs-release.yml
@@ -6,9 +6,9 @@ on:
branches:
- master
paths:
- - "packages/docs/**"
- - ".github/workflows/docs-spelling.yml"
- - ".github/actions/docs-spelling/**"
+ - 'packages/docs/**'
+ - '.github/workflows/docs-spelling.yml'
+ - '.github/actions/docs-spelling/**'
workflow_dispatch:
jobs:
diff --git a/.github/workflows/e2e-test.yml b/.github/workflows/e2e-test.yml
index 5ab88c9d97..e871a6b8a8 100644
--- a/.github/workflows/e2e-test.yml
+++ b/.github/workflows/e2e-test.yml
@@ -3,15 +3,15 @@ name: E2E Tests
on:
pull_request:
paths:
- - "packages/**"
- - "package.json"
- - "yarn.lock"
- - ".github/workflows/e2e-test.yml"
- - "!packages/sync-server/**" # Sync server changes don't affect E2E tests
- - "!packages/api/**" # API changes don't affect E2E tests
- - "!packages/ci-actions/**" # CI actions changes don't affect E2E tests
- - "!packages/docs/**" # Docs changes don't affect E2E tests
- - "!packages/eslint-plugin-actual/**" # Eslint plugin changes don't affect E2E tests
+ - 'packages/**'
+ - 'package.json'
+ - 'yarn.lock'
+ - '.github/workflows/e2e-test.yml'
+ - '!packages/sync-server/**' # Sync server changes don't affect E2E tests
+ - '!packages/api/**' # API changes don't affect E2E tests
+ - '!packages/ci-actions/**' # CI actions changes don't affect E2E tests
+ - '!packages/docs/**' # Docs changes don't affect E2E tests
+ - '!packages/eslint-plugin-actual/**' # Eslint plugin changes don't affect E2E tests
env:
GITHUB_PR_NUMBER: ${{github.event.pull_request.number}}
diff --git a/.github/workflows/electron-master.yml b/.github/workflows/electron-master.yml
index b0219d1203..9caf558cc7 100644
--- a/.github/workflows/electron-master.yml
+++ b/.github/workflows/electron-master.yml
@@ -194,11 +194,11 @@ jobs:
uses: peter-evans/create-pull-request@v7
with:
token: ${{ secrets.FLATHUB_GITHUB_TOKEN }}
- commit-message: "Update Actual flatpak to version ${{ needs.build.outputs.version }}"
- branch: "release/${{ needs.build.outputs.version }}"
- title: "Update Actual flatpak to version ${{ needs.build.outputs.version }}"
+ commit-message: 'Update Actual flatpak to version ${{ needs.build.outputs.version }}'
+ branch: 'release/${{ needs.build.outputs.version }}'
+ title: 'Update Actual flatpak to version ${{ needs.build.outputs.version }}'
body: |
This PR updates the Actual desktop flatpak to version ${{ needs.build.outputs.version }}.
:link: [View release notes](https://actualbudget.org/blog/release-${{ needs.build.outputs.version }})
- reviewers: "jfdoming,MatissJanis,youngcw" # The core team that have accepted the collaborator access to the Flathub repo
+ reviewers: 'jfdoming,MatissJanis,youngcw' # The core team that have accepted the collaborator access to the Flathub repo
diff --git a/.github/workflows/electron-pr.yml b/.github/workflows/electron-pr.yml
index b9b24d9345..e181ef015c 100644
--- a/.github/workflows/electron-pr.yml
+++ b/.github/workflows/electron-pr.yml
@@ -10,14 +10,14 @@ env:
on:
pull_request:
paths:
- - "packages/**"
- - "package.json"
- - "yarn.lock"
- - ".github/workflows/electron-pr.yml"
- - "!packages/api/**" # API changes don't affect Electron
- - "!packages/ci-actions/**" # CI actions changes don't affect Electron
- - "!packages/docs/**" # Docs changes don't affect Electron
- - "!packages/eslint-plugin-actual/**" # Eslint plugin changes don't affect Electron
+ - 'packages/**'
+ - 'package.json'
+ - 'yarn.lock'
+ - '.github/workflows/electron-pr.yml'
+ - '!packages/api/**' # API changes don't affect Electron
+ - '!packages/ci-actions/**' # CI actions changes don't affect Electron
+ - '!packages/docs/**' # Docs changes don't affect Electron
+ - '!packages/eslint-plugin-actual/**' # Eslint plugin changes don't affect Electron
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number }}
diff --git a/.github/workflows/publish-nightly-electron.yml b/.github/workflows/publish-nightly-electron.yml
index 9f3af5975b..99660b40c7 100644
--- a/.github/workflows/publish-nightly-electron.yml
+++ b/.github/workflows/publish-nightly-electron.yml
@@ -3,7 +3,7 @@ name: Publish nightly desktop app
# Publish nightly version of desktop app - Runs every day at midnight
on:
schedule:
- - cron: "0 0 * * *"
+ - cron: '0 0 * * *'
workflow_dispatch:
defaults:
diff --git a/.github/workflows/size-compare.yml b/.github/workflows/size-compare.yml
index b0cde644bb..59ebf66608 100644
--- a/.github/workflows/size-compare.yml
+++ b/.github/workflows/size-compare.yml
@@ -14,14 +14,14 @@ name: Compare Sizes
on:
pull_request_target:
paths:
- - "packages/**"
- - "package.json"
- - "yarn.lock"
- - ".github/workflows/size-compare.yml"
- - "!packages/sync-server/**" # Sync server changes don't affect the size of the web/api
- - "!packages/ci-actions/**" # CI actions changes don't affect the size of the web/api
- - "!packages/docs/**" # Docs changes don't affect the size of the web/api
- - "!packages/eslint-plugin-actual/**" # Eslint plugin changes don't affect the size of the web/api
+ - 'packages/**'
+ - 'package.json'
+ - 'yarn.lock'
+ - '.github/workflows/size-compare.yml'
+ - '!packages/sync-server/**' # Sync server changes don't affect the size of the web/api
+ - '!packages/ci-actions/**' # CI actions changes don't affect the size of the web/api
+ - '!packages/docs/**' # Docs changes don't affect the size of the web/api
+ - '!packages/eslint-plugin-actual/**' # Eslint plugin changes don't affect the size of the web/api
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
@@ -41,7 +41,7 @@ jobs:
- name: Set up environment
uses: ./.github/actions/setup
with:
- download-translations: "false"
+ download-translations: 'false'
- name: Wait for ${{github.base_ref}} web build to succeed
uses: fountainhead/action-wait-for-check@5a908a24814494009c4bb27c242ea38c93c593be # v1.2.0
@@ -85,7 +85,7 @@ jobs:
with:
branch: ${{github.base_ref}}
workflow: build.yml
- workflow_conclusion: "" # ignore the conclusion of the workflow, since we already checked it
+ workflow_conclusion: '' # ignore the conclusion of the workflow, since we already checked it
name: build-stats
path: base
- name: Download API build artifact from ${{github.base_ref}}
@@ -94,7 +94,7 @@ jobs:
with:
branch: ${{github.base_ref}}
workflow: build.yml
- workflow_conclusion: "" # ignore the conclusion of the workflow, since we already checked it
+ workflow_conclusion: '' # ignore the conclusion of the workflow, since we already checked it
name: api-build-stats
path: base
- name: Download build stats from PR
@@ -102,7 +102,7 @@ jobs:
with:
pr: ${{github.event.pull_request.number}}
workflow: build.yml
- workflow_conclusion: "" # ignore the conclusion of the workflow, since we already checked it
+ workflow_conclusion: '' # ignore the conclusion of the workflow, since we already checked it
name: build-stats
path: head
allow_forks: true
@@ -111,7 +111,7 @@ jobs:
with:
pr: ${{github.event.pull_request.number}}
workflow: build.yml
- workflow_conclusion: "" # ignore the conclusion of the workflow, since we already checked it
+ workflow_conclusion: '' # ignore the conclusion of the workflow, since we already checked it
name: api-build-stats
path: head
allow_forks: true
diff --git a/.gitignore b/.gitignore
index fada8bd500..a4ebabf331 100644
--- a/.gitignore
+++ b/.gitignore
@@ -15,10 +15,15 @@ export-2020-01-10.csv
# JavaScript
node_modules
+packages/api/app/stats.json
packages/api/dist
packages/api/@types
packages/crdt/dist
+packages/desktop-client/build-stats
packages/desktop-client/dev-dist
+packages/desktop-client/locale
+packages/desktop-client/playwright-report
+packages/desktop-client/test-results
packages/desktop-electron/client-build
packages/desktop-electron/build
packages/desktop-electron/.electron-symbols
@@ -27,6 +32,7 @@ packages/desktop-electron/loot-core
packages/desktop-client/service-worker
packages/plugins-service/dist
packages/loot-core/lib-dist
+packages/sync-server/coverage
bundle.desktop.js
bundle.desktop.js.map
bundle.mobile.js
diff --git a/.oxfmtrc.json b/.oxfmtrc.json
index 9e0a8e365b..523e5758c9 100644
--- a/.oxfmtrc.json
+++ b/.oxfmtrc.json
@@ -3,6 +3,8 @@
"singleQuote": true,
"trailingComma": "all",
"arrowParens": "avoid",
- "printWidth": 80
+ "printWidth": 80,
+ "ignorePatterns": [
+ "packages/docs/*" // TOOD: fixme; temporary
+ ]
}
-
diff --git a/.oxlintrc.json b/.oxlintrc.json
index c368a4a460..0dddd2bff6 100644
--- a/.oxlintrc.json
+++ b/.oxlintrc.json
@@ -9,7 +9,7 @@
// Keep these rules
"no-var": "warn",
-
+
// JSX A11y rules
"jsx-a11y/no-autofocus": ["warn", { "ignoreNonDOM": true }],
@@ -24,24 +24,24 @@
"import/no-duplicates": [
"warn",
{
- "prefer-inline": true,
- },
+ "prefer-inline": true
+ }
],
// React rules
"react/exhaustive-deps": [
"warn",
{
- "additionalHooks": "(useQuery|useEffectAfterMount)",
- },
+ "additionalHooks": "(useQuery|useEffectAfterMount)"
+ }
],
"react/jsx-curly-brace-presence": "warn",
"react/jsx-filename-extension": [
"warn",
{
"extensions": [".jsx", ".tsx"],
- "allow": "as-needed",
- },
+ "allow": "as-needed"
+ }
],
"react/jsx-no-comment-textnodes": "warn",
"react/jsx-no-duplicate-props": "warn",
@@ -52,8 +52,8 @@
"warn",
{
"allowAllCaps": true,
- "ignore": [],
- },
+ "ignore": []
+ }
],
"react/no-danger-with-children": "warn",
"react/no-direct-mutation-state": "warn",
@@ -63,6 +63,119 @@
"react/rules-of-hooks": "error",
"react/self-closing-comp": "warn",
"react/style-prop-object": "warn",
+
+ // ESLint rules
+ "eslint/no-redeclare": "warn",
+ "eslint/no-regex-spaces": "warn",
+ "eslint/no-restricted-globals": [
+ "warn",
+
+ // https://github.com/facebook/create-react-app/tree/main/packages/confusing-browser-globals
+ "addEventListener",
+ "blur",
+ "close",
+ "closed",
+ "confirm",
+ "defaultStatus",
+ "defaultstatus",
+ "event",
+ "external",
+ "find",
+ "focus",
+ "frameElement",
+ "frames",
+ "history",
+ "innerHeight",
+ "innerWidth",
+ "length",
+ "location",
+ "locationbar",
+ "menubar",
+ "moveBy",
+ "moveTo",
+ "name",
+ "onblur",
+ "onerror",
+ "onfocus",
+ "onload",
+ "onresize",
+ "onunload",
+ "open",
+ "opener",
+ "opera",
+ "outerHeight",
+ "outerWidth",
+ "pageXOffset",
+ "pageYOffset",
+ "parent",
+ "print",
+ "removeEventListener",
+ "resizeBy",
+ "resizeTo",
+ "screen",
+ "screenLeft",
+ "screenTop",
+ "screenX",
+ "screenY",
+ "scroll",
+ "scrollbars",
+ "scrollBy",
+ "scrollTo",
+ "scrollX",
+ "scrollY",
+ "status",
+ "statusbar",
+ "stop",
+ "toolbar",
+ "top"
+ ],
+ "eslint/no-restricted-imports": [
+ "warn",
+ {
+ "paths": [
+ {
+ "name": "react-router",
+ "importNames": ["useNavigate"],
+ "message": "Please import Actual's useNavigate() hook from `src/hooks` instead."
+ },
+ {
+ "name": "react-redux",
+ "importNames": ["useDispatch"],
+ "message": "Please import Actual's useDispatch() hook from `src/redux` instead."
+ },
+ {
+ "name": "react-redux",
+ "importNames": ["useSelector"],
+ "message": "Please import Actual's useSelector() hook from `src/redux` instead."
+ },
+ {
+ "name": "react-redux",
+ "importNames": ["useStore"],
+ "message": "Please import Actual's useStore() hook from `src/redux` instead."
+ }
+ ],
+ "patterns": [
+ {
+ "group": ["*.api", "*.web", "*.electron"],
+ "message": "Don't directly reference imports from other platforms"
+ },
+ {
+ "group": ["uuid"],
+ "importNames": ["*"],
+ "message": "Use `import { v4 as uuidv4 } from 'uuid'` instead"
+ },
+ {
+ "group": ["**/style", "**/colors"],
+ "importNames": ["colors"],
+ "message": "Please use themes instead of colors"
+ },
+ {
+ "group": ["@actual-app/web/*"],
+ "message": "Please do not import `@actual-app/web` in `loot-core`"
+ }
+ ]
+ }
+ ]
},
"overrides": [
{
@@ -111,11 +224,11 @@
"packages/desktop-client/src/components/sidebar/Tools.tsx",
"packages/desktop-client/src/components/sort.tsx",
"packages/desktop-client/src/hooks/useEffectAfterMount.ts",
- "packages/desktop-client/src/hooks/useQuery.ts",
+ "packages/desktop-client/src/hooks/useQuery.ts"
],
"rules": {
- "react/exhaustive-deps": "off",
- },
+ "react/exhaustive-deps": "off"
+ }
},
{
@@ -124,10 +237,10 @@
"packages/api/migrations/*",
"packages/loot-core/migrations/*",
"packages/sync-server/src/app-gocardless/banks/*.js",
- "*.config.{ts,mts,mjs}",
+ "*.config.{ts,mts,mjs}"
],
"rules": {
- "import/no-default-export": "off",
+ "import/no-default-export": "off"
}
}
]
diff --git a/eslint.config.mjs b/eslint.config.mjs
index aa30696714..06e3e0487c 100644
--- a/eslint.config.mjs
+++ b/eslint.config.mjs
@@ -10,67 +10,6 @@ import pluginTypescript from 'typescript-eslint';
// eslint-disable-next-line import/extensions
import pluginActual from './packages/eslint-plugin-actual/lib/index.js';
-const confusingBrowserGlobals = [
- // https://github.com/facebook/create-react-app/tree/main/packages/confusing-browser-globals
- 'addEventListener',
- 'blur',
- 'close',
- 'closed',
- 'confirm',
- 'defaultStatus',
- 'defaultstatus',
- 'event',
- 'external',
- 'find',
- 'focus',
- 'frameElement',
- 'frames',
- 'history',
- 'innerHeight',
- 'innerWidth',
- 'length',
- 'location',
- 'locationbar',
- 'menubar',
- 'moveBy',
- 'moveTo',
- 'name',
- 'onblur',
- 'onerror',
- 'onfocus',
- 'onload',
- 'onresize',
- 'onunload',
- 'open',
- 'opener',
- 'opera',
- 'outerHeight',
- 'outerWidth',
- 'pageXOffset',
- 'pageYOffset',
- 'parent',
- 'print',
- 'removeEventListener',
- 'resizeBy',
- 'resizeTo',
- 'screen',
- 'screenLeft',
- 'screenTop',
- 'screenX',
- 'screenY',
- 'scroll',
- 'scrollbars',
- 'scrollBy',
- 'scrollTo',
- 'scrollX',
- 'scrollY',
- 'status',
- 'statusbar',
- 'stop',
- 'toolbar',
- 'top',
-];
-
export default defineConfig(
{
ignores: [
@@ -149,7 +88,7 @@ export default defineConfig(
},
},
pluginTypescript.configs.recommended,
- pluginImport.flatConfigs.recommended,
+ { plugins: { import: pluginImport } },
{
plugins: {
actual: pluginActual,
@@ -237,8 +176,6 @@ export default defineConfig(
'no-obj-calls': 'warn',
'no-octal': 'warn',
'no-octal-escape': 'warn',
- 'no-redeclare': 'warn',
- 'no-regex-spaces': 'warn',
'no-script-url': 'warn',
'no-self-assign': 'warn',
'no-self-compare': 'warn',
@@ -313,7 +250,6 @@ export default defineConfig(
'getter-return': 'warn',
- 'import/no-unresolved': 'off',
'import/extensions': [
'warn',
'never',
@@ -396,8 +332,6 @@ export default defineConfig(
},
],
- 'no-restricted-globals': ['warn', ...confusingBrowserGlobals],
-
// https://github.com/eslint/eslint/issues/16954
// https://github.com/eslint/eslint/issues/16953
'no-loop-func': 'off',
@@ -420,58 +354,6 @@ export default defineConfig(
},
],
- 'no-restricted-imports': [
- 'warn',
- {
- paths: [
- {
- name: 'react-router',
- importNames: ['useNavigate'],
- message:
- "Please import Actual's useNavigate() hook from `src/hooks` instead.",
- },
- {
- name: 'react-redux',
- importNames: ['useDispatch'],
- message:
- "Please import Actual's useDispatch() hook from `src/redux` instead.",
- },
- {
- name: 'react-redux',
- importNames: ['useSelector'],
- message:
- "Please import Actual's useSelector() hook from `src/redux` instead.",
- },
- {
- name: 'react-redux',
- importNames: ['useStore'],
- message:
- "Please import Actual's useStore() hook from `src/redux` instead.",
- },
- ],
- patterns: [
- {
- group: ['*.api', '*.web', '*.electron'],
- message: "Don't directly reference imports from other platforms",
- },
- {
- group: ['uuid'],
- importNames: ['*'],
- message: "Use `import { v4 as uuidv4 } from 'uuid'` instead",
- },
- {
- group: ['**/style', '**/colors'],
- importNames: ['colors'],
- message: 'Please use themes instead of colors',
- },
- {
- group: ['@actual-app/web/*'],
- message: 'Please do not import `@actual-app/web` in `loot-core`',
- },
- ],
- },
- ],
-
'@typescript-eslint/ban-ts-comment': [
'error',
{
@@ -520,7 +402,6 @@ export default defineConfig(
'@typescript-eslint/consistent-type-assertions': 'warn',
'no-array-constructor': 'off',
'@typescript-eslint/no-array-constructor': 'warn',
- 'no-redeclare': 'off',
'no-use-before-define': 'off',
'@typescript-eslint/no-use-before-define': [
diff --git a/package.json b/package.json
index d989f615dd..30f16fbf64 100644
--- a/package.json
+++ b/package.json
@@ -65,22 +65,22 @@
"@types/prompts": "^2.4.9",
"@typescript-eslint/parser": "^8.46.4",
"cross-env": "^10.1.0",
- "eslint": "^9.39.1",
+ "eslint": "^9.39.2",
"eslint-import-resolver-typescript": "^4.4.4",
"eslint-plugin-import": "^2.32.0",
"eslint-plugin-jsx-a11y": "^6.10.2",
- "eslint-plugin-oxlint": "^1.30.0",
+ "eslint-plugin-oxlint": "^1.32.0",
"eslint-plugin-typescript-paths": "^0.0.33",
"globals": "^16.5.0",
"html-to-image": "^1.11.13",
"husky": "^9.1.7",
"lage": "^2.14.15",
- "lint-staged": "^16.2.6",
+ "lint-staged": "^16.2.7",
"minimatch": "^10.1.1",
"node-jq": "^6.3.1",
"npm-run-all": "^4.1.5",
- "oxfmt": "^0.15.0",
- "oxlint": "^1.30.0",
+ "oxfmt": "^0.17.0",
+ "oxlint": "^1.32.0",
"p-limit": "^7.2.0",
"prompts": "^2.4.2",
"source-map-support": "^0.5.21",
diff --git a/packages/api/tsconfig.dist.json b/packages/api/tsconfig.dist.json
index adc9dcd0b7..2936c20a94 100644
--- a/packages/api/tsconfig.dist.json
+++ b/packages/api/tsconfig.dist.json
@@ -11,9 +11,9 @@
"outDir": "dist",
"declarationDir": "@types",
"paths": {
- "loot-core/*": ["./@types/loot-core/src/*"]
- }
+ "loot-core/*": ["./@types/loot-core/src/*"],
+ },
},
"include": ["."],
- "exclude": ["**/node_modules/*", "dist", "@types", "*.test.ts"]
+ "exclude": ["**/node_modules/*", "dist", "@types", "*.test.ts"],
}
diff --git a/packages/crdt/tsconfig.dist.json b/packages/crdt/tsconfig.dist.json
index 56c50ef6d9..7f03fcab4c 100644
--- a/packages/crdt/tsconfig.dist.json
+++ b/packages/crdt/tsconfig.dist.json
@@ -9,8 +9,8 @@
"noEmit": false,
"declaration": true,
"strict": true,
- "outDir": "dist"
+ "outDir": "dist",
},
"include": ["."],
- "exclude": ["dist", "**/*.test.ts", "**/*.spec.ts"]
+ "exclude": ["dist", "**/*.test.ts", "**/*.spec.ts"],
}
diff --git a/packages/desktop-client/src/components/modals/CreateEncryptionKeyModal.tsx b/packages/desktop-client/src/components/modals/CreateEncryptionKeyModal.tsx
index 031a24d023..49be6359f1 100644
--- a/packages/desktop-client/src/components/modals/CreateEncryptionKeyModal.tsx
+++ b/packages/desktop-client/src/components/modals/CreateEncryptionKeyModal.tsx
@@ -95,7 +95,8 @@ export function CreateEncryptionKeyModal({
We will generate a key based on a password and use it to
encrypt from now on.{' '}
<strong>This requires a sync reset</strong> and all other
- devices will have to revert to this version of your data.{' '}
+ devices will have to revert to this version of your
+ data.{' '}
</Trans>
<Link
variant="external"
diff --git a/packages/desktop-client/src/hooks/useNavigate.ts b/packages/desktop-client/src/hooks/useNavigate.ts
index 3ea7aff60a..68ab55d91e 100644
--- a/packages/desktop-client/src/hooks/useNavigate.ts
+++ b/packages/desktop-client/src/hooks/useNavigate.ts
@@ -5,7 +5,7 @@ import {
type NavigateOptions,
type To,
useLocation,
- // eslint-disable-next-line no-restricted-imports
+ // oxlint-disable-next-line eslint/no-restricted-imports
useNavigate as useNavigateReactRouter,
} from 'react-router';
diff --git a/packages/desktop-client/src/redux/index.ts b/packages/desktop-client/src/redux/index.ts
index ccb16a9a90..24d9cdc042 100644
--- a/packages/desktop-client/src/redux/index.ts
+++ b/packages/desktop-client/src/redux/index.ts
@@ -1,4 +1,4 @@
-/* eslint-disable no-restricted-imports */
+/* oxlint-disable eslint/no-restricted-imports */
import {
useDispatch as useReduxDispatch,
useSelector as useReduxSelector,
diff --git a/packages/desktop-client/src/style/index.ts b/packages/desktop-client/src/style/index.ts
index 0ce172acb7..62ad4b40df 100644
--- a/packages/desktop-client/src/style/index.ts
+++ b/packages/desktop-client/src/style/index.ts
@@ -1,4 +1,4 @@
-// eslint-disable-next-line no-restricted-imports
+// oxlint-disable-next-line eslint/no-restricted-imports
export * as colors from './colors';
export * from './styles';
export * from './theme';
diff --git a/packages/desktop-client/src/style/palette.ts b/packages/desktop-client/src/style/palette.ts
index 250c1167ab..f069be148c 100644
--- a/packages/desktop-client/src/style/palette.ts
+++ b/packages/desktop-client/src/style/palette.ts
@@ -1,4 +1,4 @@
-// eslint-disable-next-line no-restricted-imports
+// oxlint-disable-next-line eslint/no-restricted-imports
import * as oldColors from './colors';
// Only for use in contextual color definitions
diff --git a/packages/desktop-client/src/style/themes/dark.ts b/packages/desktop-client/src/style/themes/dark.ts
index fb510e3f19..0cc05517ae 100644
--- a/packages/desktop-client/src/style/themes/dark.ts
+++ b/packages/desktop-client/src/style/themes/dark.ts
@@ -1,4 +1,4 @@
-// eslint-disable-next-line no-restricted-imports
+// oxlint-disable-next-line eslint/no-restricted-imports
import * as colorPalette from '@desktop-client/style/palette';
export const pageBackground = colorPalette.gray900;
diff --git a/packages/desktop-client/src/style/themes/development.ts b/packages/desktop-client/src/style/themes/development.ts
index fc9bed6237..ab6f3ca863 100644
--- a/packages/desktop-client/src/style/themes/development.ts
+++ b/packages/desktop-client/src/style/themes/development.ts
@@ -1,4 +1,4 @@
-// eslint-disable-next-line no-restricted-imports
+// oxlint-disable-next-line eslint/no-restricted-imports
import * as colorPalette from '@desktop-client/style/palette';
export const pageBackground = colorPalette.navy100;
diff --git a/packages/desktop-client/src/style/themes/light.ts b/packages/desktop-client/src/style/themes/light.ts
index ef32d19a8e..c90d7b27d6 100644
--- a/packages/desktop-client/src/style/themes/light.ts
+++ b/packages/desktop-client/src/style/themes/light.ts
@@ -1,4 +1,4 @@
-// eslint-disable-next-line no-restricted-imports
+// oxlint-disable-next-line eslint/no-restricted-imports
import * as colorPalette from '@desktop-client/style/palette';
export const pageBackground = colorPalette.navy100;
diff --git a/packages/desktop-client/src/style/themes/midnight.ts b/packages/desktop-client/src/style/themes/midnight.ts
index e7c530b631..5db2f072f3 100644
--- a/packages/desktop-client/src/style/themes/midnight.ts
+++ b/packages/desktop-client/src/style/themes/midnight.ts
@@ -1,4 +1,4 @@
-// eslint-disable-next-line no-restricted-imports
+// oxlint-disable-next-line eslint/no-restricted-imports
import * as colorPalette from '@desktop-client/style/palette';
export const pageBackground = colorPalette.gray600;
diff --git a/packages/desktop-client/tsconfig.service-worker.json b/packages/desktop-client/tsconfig.service-worker.json
index 56ebc5b10a..d7193c0586 100644
--- a/packages/desktop-client/tsconfig.service-worker.json
+++ b/packages/desktop-client/tsconfig.service-worker.json
@@ -11,8 +11,8 @@
"esModuleInterop": true,
"skipLibCheck": true,
"strict": false,
- "types": ["vite/client"]
+ "types": ["vite/client"],
},
"include": ["src/plugin-service-worker.ts"],
- "exclude": ["**/*.test.ts", "**/*.spec.ts"]
+ "exclude": ["**/*.test.ts", "**/*.spec.ts"],
}
diff --git a/packages/desktop-electron/e2e/onboarding.test.ts b/packages/desktop-electron/e2e/onboarding.test.ts
index e1851f76fd..0a5157e467 100644
--- a/packages/desktop-electron/e2e/onboarding.test.ts
+++ b/packages/desktop-electron/e2e/onboarding.test.ts
@@ -1,4 +1,4 @@
-// eslint-disable-next-line no-restricted-imports -- fix me
+// oxlint-disable-next-line eslint/no-restricted-imports -- fix me
import { ConfigurationPage } from '@actual-app/web/e2e/page-models/configuration-page';
import { expect } from '@playwright/test';
diff --git a/packages/desktop-electron/tsconfig.dist.json b/packages/desktop-electron/tsconfig.dist.json
index 1a7ad58b0a..08b7040fcb 100644
--- a/packages/desktop-electron/tsconfig.dist.json
+++ b/packages/desktop-electron/tsconfig.dist.json
@@ -9,7 +9,7 @@
"noEmit": false,
"declaration": true,
"outDir": "build",
- "rootDir": ".."
+ "rootDir": "..",
},
"include": ["."],
"exclude": [
@@ -17,6 +17,6 @@
"build/**/*",
"e2e/**/*",
"**/*.test.ts",
- "**/*.spec.ts"
- ]
+ "**/*.spec.ts",
+ ],
}
diff --git a/packages/eslint-plugin-actual/package.json b/packages/eslint-plugin-actual/package.json
index 6350f6ca43..b30021f45c 100644
--- a/packages/eslint-plugin-actual/package.json
+++ b/packages/eslint-plugin-actual/package.json
@@ -11,10 +11,10 @@
"requireindex": "^1.2.0"
},
"devDependencies": {
- "eslint": "^9.39.1",
+ "eslint": "^9.39.2",
"eslint-plugin-eslint-plugin": "^7.2.0",
"eslint-plugin-node": "^11.1.0",
- "eslint-vitest-rule-tester": "^3.0.0",
+ "eslint-vitest-rule-tester": "^3.0.1",
"loupe": "^3.2.1",
"strip-literal": "^3.1.0",
"tinyspy": "^4.0.4",
diff --git a/packages/loot-core/src/platform/client/undo/index.ts b/packages/loot-core/src/platform/client/undo/index.ts
index 3171a01fac..122385d511 100644
--- a/packages/loot-core/src/platform/client/undo/index.ts
+++ b/packages/loot-core/src/platform/client/undo/index.ts
@@ -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';
diff --git a/packages/loot-core/src/platform/server/sqlite/index.web.test.ts b/packages/loot-core/src/platform/server/sqlite/index.web.test.ts
index ef3235982d..6d58827473 100644
--- a/packages/loot-core/src/platform/server/sqlite/index.web.test.ts
+++ b/packages/loot-core/src/platform/server/sqlite/index.web.test.ts
@@ -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,
diff --git a/packages/loot-core/tsconfig.api.json b/packages/loot-core/tsconfig.api.json
index 56ea2d8cdc..c3762616eb 100644
--- a/packages/loot-core/tsconfig.api.json
+++ b/packages/loot-core/tsconfig.api.json
@@ -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",
+ ],
}
diff --git a/packages/plugins-service/tsconfig.json b/packages/plugins-service/tsconfig.json
index fab078e6e6..ac4d2b5008 100644
--- a/packages/plugins-service/tsconfig.json
+++ b/packages/plugins-service/tsconfig.json
@@ -10,8 +10,8 @@
"strict": false,
"types": ["vite/client"],
"outDir": "dist",
- "rootDir": "src"
+ "rootDir": "src",
},
"include": ["src/**/*"],
- "exclude": ["node_modules"]
+ "exclude": ["node_modules"],
}
diff --git a/packages/sync-server/tsconfig.json b/packages/sync-server/tsconfig.json
index 0c9b5aebc4..8d7ef77091 100644
--- a/packages/sync-server/tsconfig.json
+++ b/packages/sync-server/tsconfig.json
@@ -3,14 +3,14 @@
"compilerOptions": {
"lib": ["ES2021"],
"noEmit": false,
- "outDir": "build"
+ "outDir": "build",
},
"include": [
"src/**/*",
"migrations/**/*",
"types/**/*",
"app.ts",
- "bin/**/*"
+ "bin/**/*",
],
- "exclude": ["node_modules", "build", "coverage"]
+ "exclude": ["node_modules", "build", "coverage"],
}
diff --git a/tsconfig.json b/tsconfig.json
index f3d6a50054..eae7714915 100644
--- a/tsconfig.json
+++ b/tsconfig.json
@@ -35,14 +35,14 @@
"@desktop-client/*": ["./packages/desktop-client/src/*"],
"@desktop-client/e2e/*": ["./packages/desktop-client/e2e/*"],
// Allow importing from hyperformula's internal typings for custom function plugins
- "hyperformula/typings/*": ["./node_modules/hyperformula/typings/*"]
+ "hyperformula/typings/*": ["./node_modules/hyperformula/typings/*"],
},
"plugins": [
{
"name": "typescript-strict-plugin",
- "path": ["./packages"]
- }
- ]
+ "path": ["./packages"],
+ },
+ ],
},
"include": ["packages/**/*", "bin/*.ts"],
"exclude": [
@@ -55,11 +55,11 @@
"**/lib-dist/*",
"**/test-results/*",
"**/playwright-report/*",
- "**/service-worker/*"
+ "**/service-worker/*",
],
"ts-node": {
"compilerOptions": {
- "module": "CommonJS"
- }
- }
+ "module": "CommonJS",
+ },
+ },
}
diff --git a/upcoming-release-notes/5985.md b/upcoming-release-notes/5985.md
index c8a4414b4f..0bccd77036 100644
--- a/upcoming-release-notes/5985.md
+++ b/upcoming-release-notes/5985.md
@@ -4,4 +4,3 @@ authors: [lelemm]
---
Add INTEGER_TO_AMOUNT function, enhance formula card styling, and introduce balance field to formula rule action execution.
-
diff --git a/upcoming-release-notes/6120.md b/upcoming-release-notes/6120.md
index 4388e8c9e4..c36e8034e4 100644
--- a/upcoming-release-notes/6120.md
+++ b/upcoming-release-notes/6120.md
@@ -4,4 +4,3 @@ authors: [MatissJanis]
---
Agents.md: add missing information
-
diff --git a/upcoming-release-notes/6247.md b/upcoming-release-notes/6247.md
index 2e2e0652f4..4d9f490dac 100644
--- a/upcoming-release-notes/6247.md
+++ b/upcoming-release-notes/6247.md
@@ -4,4 +4,3 @@ authors: [MatissJanis]
---
Fix number parsing to recognize Unicode minus as a valid negative indicator.
-
diff --git a/upcoming-release-notes/6295.md b/upcoming-release-notes/6295.md
index 8e8af36bb6..eebbfca58d 100644
--- a/upcoming-release-notes/6295.md
+++ b/upcoming-release-notes/6295.md
@@ -3,4 +3,4 @@ category: Maintenance
authors: [MatissJanis]
---
-Upgrade jws dependency from 4.0.0 to 4.0.1
\ No newline at end of file
+Upgrade jws dependency from 4.0.0 to 4.0.1
diff --git a/upcoming-release-notes/6335.md b/upcoming-release-notes/6335.md
index c4223dc7be..a464093dab 100644
--- a/upcoming-release-notes/6335.md
+++ b/upcoming-release-notes/6335.md
@@ -4,4 +4,3 @@ authors: [MikesGlitch]
---
Add keywords, categories and comment to Linux .desktop file for better searchability
-
diff --git a/upcoming-release-notes/6337.md b/upcoming-release-notes/6337.md
index d297b729c2..c8387128d1 100644
--- a/upcoming-release-notes/6337.md
+++ b/upcoming-release-notes/6337.md
@@ -4,4 +4,3 @@ authors: [MatissJanis]
---
Fix API `downloadBudget` failing with "Could not get remote files" error when authentication fails silently during `init()`.
-
diff --git a/upcoming-release-notes/6359.md b/upcoming-release-notes/6359.md
index 4dd1099e4c..950f31a1d3 100644
--- a/upcoming-release-notes/6359.md
+++ b/upcoming-release-notes/6359.md
@@ -4,4 +4,3 @@ authors: [MatissJanis]
---
Implement parallelization of E2E tests using matrix-based sharding in GitHub Actions workflow.
-
diff --git a/upcoming-release-notes/6361.md b/upcoming-release-notes/6361.md
index 20e9c4a059..f4490083d2 100644
--- a/upcoming-release-notes/6361.md
+++ b/upcoming-release-notes/6361.md
@@ -4,4 +4,3 @@ authors: [MikesGlitch]
---
Automatically add core team as reviewers to the Flathub Release PR
-
diff --git a/upcoming-release-notes/6364.md b/upcoming-release-notes/6364.md
index a0bbaf1c6d..78d8827f3b 100644
--- a/upcoming-release-notes/6364.md
+++ b/upcoming-release-notes/6364.md
@@ -4,4 +4,3 @@ authors: [MikesGlitch]
---
Preventing Github UI Workflows when unrelated files change
-
diff --git a/upcoming-release-notes/6386.md b/upcoming-release-notes/6386.md
index 022c502f20..b0f451fb2a 100644
--- a/upcoming-release-notes/6386.md
+++ b/upcoming-release-notes/6386.md
@@ -4,4 +4,3 @@ authors: [MikesGlitch]
---
Workflow and config added for docs site move to Github Pages
-
diff --git a/upcoming-release-notes/6398.md b/upcoming-release-notes/6398.md
new file mode 100644
index 0000000000..a93fdae1a6
--- /dev/null
+++ b/upcoming-release-notes/6398.md
@@ -0,0 +1,6 @@
+---
+category: Maintenance
+authors: [MatissJanis]
+---
+
+lint: move some more rules to oxlint/oxfmt and upgrade linter versions
diff --git a/yarn.lock b/yarn.lock
index b071563914..991c69b9e6 100644
--- a/yarn.lock
+++ b/yarn.lock
@@ -3883,10 +3883,10 @@ __metadata:
languageName: node
linkType: hard
-"@eslint/js@npm:9.39.1":
- version: 9.39.1
- resolution: "@eslint/js@npm:9.39.1"
- checksum: 10/b10b9b953212c0f3ffca475159bbe519e9e98847200c7432d1637d444fddcd7b712d2b7710a7dc20510f9cfbe8db330039b2aad09cb55d9545b116d940dbeed2
+"@eslint/js@npm:9.39.2":
+ version: 9.39.2
+ resolution: "@eslint/js@npm:9.39.2"
+ checksum: 10/6b7f676746f3111b5d1b23715319212ab9297868a0fa9980d483c3da8965d5841673aada2d5653e85a3f7156edee0893a7ae7035211b4efdcb2848154bb947f2
languageName: node
linkType: hard
@@ -4814,114 +4814,114 @@ __metadata:
languageName: node
linkType: hard
-"@oxfmt/darwin-arm64@npm:0.15.0":
- version: 0.15.0
- resolution: "@oxfmt/darwin-arm64@npm:0.15.0"
+"@oxfmt/darwin-arm64@npm:0.17.0":
+ version: 0.17.0
+ resolution: "@oxfmt/darwin-arm64@npm:0.17.0"
conditions: os=darwin & cpu=arm64
languageName: node
linkType: hard
-"@oxfmt/darwin-x64@npm:0.15.0":
- version: 0.15.0
- resolution: "@oxfmt/darwin-x64@npm:0.15.0"
+"@oxfmt/darwin-x64@npm:0.17.0":
+ version: 0.17.0
+ resolution: "@oxfmt/darwin-x64@npm:0.17.0"
conditions: os=darwin & cpu=x64
languageName: node
linkType: hard
-"@oxfmt/linux-arm64-gnu@npm:0.15.0":
- version: 0.15.0
- resolution: "@oxfmt/linux-arm64-gnu@npm:0.15.0"
+"@oxfmt/linux-arm64-gnu@npm:0.17.0":
+ version: 0.17.0
+ resolution: "@oxfmt/linux-arm64-gnu@npm:0.17.0"
conditions: os=linux & cpu=arm64 & libc=glibc
languageName: node
linkType: hard
-"@oxfmt/linux-arm64-musl@npm:0.15.0":
- version: 0.15.0
- resolution: "@oxfmt/linux-arm64-musl@npm:0.15.0"
+"@oxfmt/linux-arm64-musl@npm:0.17.0":
+ version: 0.17.0
+ resolution: "@oxfmt/linux-arm64-musl@npm:0.17.0"
conditions: os=linux & cpu=arm64 & libc=musl
languageName: node
linkType: hard
-"@oxfmt/linux-x64-gnu@npm:0.15.0":
- version: 0.15.0
- resolution: "@oxfmt/linux-x64-gnu@npm:0.15.0"
+"@oxfmt/linux-x64-gnu@npm:0.17.0":
+ version: 0.17.0
+ resolution: "@oxfmt/linux-x64-gnu@npm:0.17.0"
conditions: os=linux & cpu=x64 & libc=glibc
languageName: node
linkType: hard
-"@oxfmt/linux-x64-musl@npm:0.15.0":
- version: 0.15.0
- resolution: "@oxfmt/linux-x64-musl@npm:0.15.0"
+"@oxfmt/linux-x64-musl@npm:0.17.0":
+ version: 0.17.0
+ resolution: "@oxfmt/linux-x64-musl@npm:0.17.0"
conditions: os=linux & cpu=x64 & libc=musl
languageName: node
linkType: hard
-"@oxfmt/win32-arm64@npm:0.15.0":
- version: 0.15.0
- resolution: "@oxfmt/win32-arm64@npm:0.15.0"
+"@oxfmt/win32-arm64@npm:0.17.0":
+ version: 0.17.0
+ resolution: "@oxfmt/win32-arm64@npm:0.17.0"
conditions: os=win32 & cpu=arm64
languageName: node
linkType: hard
-"@oxfmt/win32-x64@npm:0.15.0":
- version: 0.15.0
- resolution: "@oxfmt/win32-x64@npm:0.15.0"
+"@oxfmt/win32-x64@npm:0.17.0":
+ version: 0.17.0
+ resolution: "@oxfmt/win32-x64@npm:0.17.0"
conditions: os=win32 & cpu=x64
languageName: node
linkType: hard
-"@oxlint/darwin-arm64@npm:1.30.0":
- version: 1.30.0
- resolution: "@oxlint/darwin-arm64@npm:1.30.0"
+"@oxlint/darwin-arm64@npm:1.32.0":
+ version: 1.32.0
+ resolution: "@oxlint/darwin-arm64@npm:1.32.0"
conditions: os=darwin & cpu=arm64
languageName: node
linkType: hard
-"@oxlint/darwin-x64@npm:1.30.0":
- version: 1.30.0
- resolution: "@oxlint/darwin-x64@npm:1.30.0"
+"@oxlint/darwin-x64@npm:1.32.0":
+ version: 1.32.0
+ resolution: "@oxlint/darwin-x64@npm:1.32.0"
conditions: os=darwin & cpu=x64
languageName: node
linkType: hard
-"@oxlint/linux-arm64-gnu@npm:1.30.0":
- version: 1.30.0
- resolution: "@oxlint/linux-arm64-gnu@npm:1.30.0"
+"@oxlint/linux-arm64-gnu@npm:1.32.0":
+ version: 1.32.0
+ resolution: "@oxlint/linux-arm64-gnu@npm:1.32.0"
conditions: os=linux & cpu=arm64 & libc=glibc
languageName: node
linkType: hard
-"@oxlint/linux-arm64-musl@npm:1.30.0":
- version: 1.30.0
- resolution: "@oxlint/linux-arm64-musl@npm:1.30.0"
+"@oxlint/linux-arm64-musl@npm:1.32.0":
+ version: 1.32.0
+ resolution: "@oxlint/linux-arm64-musl@npm:1.32.0"
conditions: os=linux & cpu=arm64 & libc=musl
languageName: node
linkType: hard
-"@oxlint/linux-x64-gnu@npm:1.30.0":
- version: 1.30.0
- resolution: "@oxlint/linux-x64-gnu@npm:1.30.0"
+"@oxlint/linux-x64-gnu@npm:1.32.0":
+ version: 1.32.0
+ resolution: "@oxlint/linux-x64-gnu@npm:1.32.0"
conditions: os=linux & cpu=x64 & libc=glibc
languageName: node
linkType: hard
-"@oxlint/linux-x64-musl@npm:1.30.0":
- version: 1.30.0
- resolution: "@oxlint/linux-x64-musl@npm:1.30.0"
+"@oxlint/linux-x64-musl@npm:1.32.0":
+ version: 1.32.0
+ resolution: "@oxlint/linux-x64-musl@npm:1.32.0"
conditions: os=linux & cpu=x64 & libc=musl
languageName: node
linkType: hard
-"@oxlint/win32-arm64@npm:1.30.0":
- version: 1.30.0
- resolution: "@oxlint/win32-arm64@npm:1.30.0"
+"@oxlint/win32-arm64@npm:1.32.0":
+ version: 1.32.0
+ resolution: "@oxlint/win32-arm64@npm:1.32.0"
conditions: os=win32 & cpu=arm64
languageName: node
linkType: hard
-"@oxlint/win32-x64@npm:1.30.0":
- version: 1.30.0
- resolution: "@oxlint/win32-x64@npm:1.30.0"
+"@oxlint/win32-x64@npm:1.32.0":
+ version: 1.32.0
+ resolution: "@oxlint/win32-x64@npm:1.32.0"
conditions: os=win32 & cpu=x64
languageName: node
linkType: hard
@@ -9984,22 +9984,22 @@ __metadata:
"@types/prompts": "npm:^2.4.9"
"@typescript-eslint/parser": "npm:^8.46.4"
cross-env: "npm:^10.1.0"
- eslint: "npm:^9.39.1"
+ eslint: "npm:^9.39.2"
eslint-import-resolver-typescript: "npm:^4.4.4"
eslint-plugin-import: "npm:^2.32.0"
eslint-plugin-jsx-a11y: "npm:^6.10.2"
- eslint-plugin-oxlint: "npm:^1.30.0"
+ eslint-plugin-oxlint: "npm:^1.32.0"
eslint-plugin-typescript-paths: "npm:^0.0.33"
globals: "npm:^16.5.0"
html-to-image: "npm:^1.11.13"
husky: "npm:^9.1.7"
lage: "npm:^2.14.15"
- lint-staged: "npm:^16.2.6"
+ lint-staged: "npm:^16.2.7"
minimatch: "npm:^10.1.1"
node-jq: "npm:^6.3.1"
npm-run-all: "npm:^4.1.5"
- oxfmt: "npm:^0.15.0"
- oxlint: "npm:^1.30.0"
+ oxfmt: "npm:^0.17.0"
+ oxlint: "npm:^1.32.0"
p-limit: "npm:^7.2.0"
prompts: "npm:^2.4.2"
source-map-support: "npm:^0.5.21"
@@ -12096,13 +12096,20 @@ __metadata:
languageName: node
linkType: hard
-"commander@npm:^14.0.0, commander@npm:^14.0.1":
+"commander@npm:^14.0.0":
version: 14.0.1
resolution: "commander@npm:14.0.1"
checksum: 10/783115e9403caeca29c0fcbd4e0358f70c67760e4e4933f3453fcdd5ddba2ec44173c8da5213d7ce5e404f51c7e71203a42c548164dbe27b668b32a8981577f1
languageName: node
linkType: hard
+"commander@npm:^14.0.2":
+ version: 14.0.2
+ resolution: "commander@npm:14.0.2"
+ checksum: 10/2d202db5e5f9bb770112a3c1579b893d17ac6f6d932183077308bdd96d0f87f0bbe6a68b5b9ed2cf3b2514be6bb7de637480703c0e2db9741ee1b383237deb26
+ languageName: node
+ linkType: hard
+
"commander@npm:^2.20.0, commander@npm:^2.20.3":
version: 2.20.3
resolution: "commander@npm:2.20.3"
@@ -14715,10 +14722,10 @@ __metadata:
version: 0.0.0-use.local
resolution: "eslint-plugin-actual@workspace:packages/eslint-plugin-actual"
dependencies:
- eslint: "npm:^9.39.1"
+ eslint: "npm:^9.39.2"
eslint-plugin-eslint-plugin: "npm:^7.2.0"
eslint-plugin-node: "npm:^11.1.0"
- eslint-vitest-rule-tester: "npm:^3.0.0"
+ eslint-vitest-rule-tester: "npm:^3.0.1"
loupe: "npm:^3.2.1"
requireindex: "npm:^1.2.0"
strip-literal: "npm:^3.1.0"
@@ -14823,12 +14830,12 @@ __metadata:
languageName: node
linkType: hard
-"eslint-plugin-oxlint@npm:^1.30.0":
- version: 1.30.0
- resolution: "eslint-plugin-oxlint@npm:1.30.0"
+"eslint-plugin-oxlint@npm:^1.32.0":
+ version: 1.32.0
+ resolution: "eslint-plugin-oxlint@npm:1.32.0"
dependencies:
jsonc-parser: "npm:^3.3.1"
- checksum: 10/fe9113fedfddcd01a5a7fce6cc3e8599f19dfb8a2b6f059de4da809d2c6f87ae0e669287efd3dc4f661520e2b00a24dca077a823bb0915ed65b2c98146258a02
+ checksum: 10/0c82c8fdb2201c71825f4e6c796801b72795fa567a3a9e927e36bf197ed55d2cd2a72373c726f56a49d5c6c1eb3a1dffe25ce0f2ea492e13bef6a6de73db07ff
languageName: node
linkType: hard
@@ -14893,21 +14900,21 @@ __metadata:
languageName: node
linkType: hard
-"eslint-vitest-rule-tester@npm:^3.0.0":
- version: 3.0.0
- resolution: "eslint-vitest-rule-tester@npm:3.0.0"
+"eslint-vitest-rule-tester@npm:^3.0.1":
+ version: 3.0.1
+ resolution: "eslint-vitest-rule-tester@npm:3.0.1"
dependencies:
"@typescript-eslint/utils": "npm:^8.46.2"
peerDependencies:
eslint: ^9.10.0
vitest: ^1.0.0 || ^2.0.0 || ^3.0.0 || ^4.0.0
- checksum: 10/e5c18bcc7a808087e2a67802fa25826f8c7dbfcc195147799caaeda39dd097e5cd0200300e6b9916ec109b029ceeb4c4d13def47a2692670d8d4605e1c59b304
+ checksum: 10/e6175d0732fefbd4f879027a3d929f9958184bc611702c70f789de98b67e1fd0075b0ae82a9708de7d7bea835598d819198260a4294da6f71961a5a688032dbf
languageName: node
linkType: hard
-"eslint@npm:^9.39.1":
- version: 9.39.1
- resolution: "eslint@npm:9.39.1"
+"eslint@npm:^9.39.2":
+ version: 9.39.2
+ resolution: "eslint@npm:9.39.2"
dependencies:
"@eslint-community/eslint-utils": "npm:^4.8.0"
"@eslint-community/regexpp": "npm:^4.12.1"
@@ -14915,7 +14922,7 @@ __metadata:
"@eslint/config-helpers": "npm:^0.4.2"
"@eslint/core": "npm:^0.17.0"
"@eslint/eslintrc": "npm:^3.3.1"
- "@eslint/js": "npm:9.39.1"
+ "@eslint/js": "npm:9.39.2"
"@eslint/plugin-kit": "npm:^0.4.1"
"@humanfs/node": "npm:^0.16.6"
"@humanwhocodes/module-importer": "npm:^1.0.1"
@@ -14950,7 +14957,7 @@ __metadata:
optional: true
bin:
eslint: bin/eslint.js
- checksum: 10/c85fefe4a81a1a476e62087366907af830b62a6565ac153f6d50a100a42a946aeb049c3af8f06c0e091105ba0fe97ac109f379f32755a67f66ecb7d4d1e4dca3
+ checksum: 10/53ff0e9c8264e7e8d40d50fdc0c0df0b701cfc5289beedfb686c214e3e7b199702f894bbd1bb48653727bb1ecbd1147cf5f555a4ae71e1daf35020cdc9072d9f
languageName: node
linkType: hard
@@ -18769,11 +18776,11 @@ __metadata:
languageName: node
linkType: hard
-"lint-staged@npm:^16.2.6":
- version: 16.2.6
- resolution: "lint-staged@npm:16.2.6"
+"lint-staged@npm:^16.2.7":
+ version: 16.2.7
+ resolution: "lint-staged@npm:16.2.7"
dependencies:
- commander: "npm:^14.0.1"
+ commander: "npm:^14.0.2"
listr2: "npm:^9.0.5"
micromatch: "npm:^4.0.8"
nano-spawn: "npm:^2.0.0"
@@ -18782,7 +18789,7 @@ __metadata:
yaml: "npm:^2.8.1"
bin:
lint-staged: bin/lint-staged.js
- checksum: 10/c419f1347166ddd06746d4a3e4ce6441f3d0e82dcdcbc3d3615ddf7b82b36c603df2e43dbb1edad5ed00ae29857479e1f880bcca271f8bf4b0db7d0f77861d21
+ checksum: 10/c1fd7685300800ea6d3f073cb450f9e3d2a83966e7c6785ea9608a08e77e1e8e5f1958f77b98ccd7d423daa53bb36016d6fd96a98d22234d0f7f56d7b3f360f2
languageName: node
linkType: hard
@@ -21344,18 +21351,18 @@ __metadata:
languageName: node
linkType: hard
-"oxfmt@npm:^0.15.0":
- version: 0.15.0
- resolution: "oxfmt@npm:0.15.0"
- dependencies:
- "@oxfmt/darwin-arm64": "npm:0.15.0"
- "@oxfmt/darwin-x64": "npm:0.15.0"
- "@oxfmt/linux-arm64-gnu": "npm:0.15.0"
- "@oxfmt/linux-arm64-musl": "npm:0.15.0"
- "@oxfmt/linux-x64-gnu": "npm:0.15.0"
- "@oxfmt/linux-x64-musl": "npm:0.15.0"
- "@oxfmt/win32-arm64": "npm:0.15.0"
- "@oxfmt/win32-x64": "npm:0.15.0"
+"oxfmt@npm:^0.17.0":
+ version: 0.17.0
+ resolution: "oxfmt@npm:0.17.0"
+ dependencies:
+ "@oxfmt/darwin-arm64": "npm:0.17.0"
+ "@oxfmt/darwin-x64": "npm:0.17.0"
+ "@oxfmt/linux-arm64-gnu": "npm:0.17.0"
+ "@oxfmt/linux-arm64-musl": "npm:0.17.0"
+ "@oxfmt/linux-x64-gnu": "npm:0.17.0"
+ "@oxfmt/linux-x64-musl": "npm:0.17.0"
+ "@oxfmt/win32-arm64": "npm:0.17.0"
+ "@oxfmt/win32-x64": "npm:0.17.0"
dependenciesMeta:
"@oxfmt/darwin-arm64":
optional: true
@@ -21375,22 +21382,22 @@ __metadata:
optional: true
bin:
oxfmt: bin/oxfmt
- checksum: 10/724796d103813cdc6929acd545028d54a97c8ba5039ac57c9a02b93379469f05fafbfa5dbf0c5af874246c44585a232e3360b7704955faac5a0ad1e23a25bfb7
+ checksum: 10/e9ad3a0c7fa835ce52f2e79eb903ed2e77c14911c3294ecdc3d20eac7195178b18ab43bca65a573649ca1462be3c2d8f48c1c02fe8c0049646b5b827bbf2a663
languageName: node
linkType: hard
-"oxlint@npm:^1.30.0":
- version: 1.30.0
- resolution: "oxlint@npm:1.30.0"
+"oxlint@npm:^1.32.0":
+ version: 1.32.0
+ resolution: "oxlint@npm:1.32.0"
dependencies:
- "@oxlint/darwin-arm64": "npm:1.30.0"
- "@oxlint/darwin-x64": "npm:1.30.0"
- "@oxlint/linux-arm64-gnu": "npm:1.30.0"
- "@oxlint/linux-arm64-musl": "npm:1.30.0"
- "@oxlint/linux-x64-gnu": "npm:1.30.0"
- "@oxlint/linux-x64-musl": "npm:1.30.0"
- "@oxlint/win32-arm64": "npm:1.30.0"
- "@oxlint/win32-x64": "npm:1.30.0"
+ "@oxlint/darwin-arm64": "npm:1.32.0"
+ "@oxlint/darwin-x64": "npm:1.32.0"
+ "@oxlint/linux-arm64-gnu": "npm:1.32.0"
+ "@oxlint/linux-arm64-musl": "npm:1.32.0"
+ "@oxlint/linux-x64-gnu": "npm:1.32.0"
+ "@oxlint/linux-x64-musl": "npm:1.32.0"
+ "@oxlint/win32-arm64": "npm:1.32.0"
+ "@oxlint/win32-x64": "npm:1.32.0"
peerDependencies:
oxlint-tsgolint: ">=0.8.1"
dependenciesMeta:
@@ -21416,7 +21423,7 @@ __metadata:
bin:
oxc_language_server: bin/oxc_language_server
oxlint: bin/oxlint
- checksum: 10/84c825be1040203aaf8d8a4e8704d8b6aec5993397cd88d7df10a2dfb521352dbcd6cb3e0fa94b531f00801889bfcb4077be3f89e670804f457c548dd36ae440
+ checksum: 10/f733f8747b441a3a0b34a2e920bad521cdcc6c1273e599b3eb5d4c819516a8a3e5a43ae871f8ea45217226f10d2b575d8f447d4a9e391d0ce62aad82fd6a1484
languageName: node
linkType: hard