Skip to content

A local-first personal finance app

[AI] Add --quiet flag to oxlint commands (#7055)

Matiss Janis Aboltins6b996c11d8cd
diff --git a/package.json b/package.json
index f8a1a91d45..ad33549d64 100644
--- a/package.json
+++ b/package.json
@@ -54,8 +54,8 @@
"vrt:docker": "./bin/run-vrt",
"rebuild-electron": "./node_modules/.bin/electron-rebuild -m ./packages/loot-core",
"rebuild-node": "yarn workspace loot-core rebuild",
- "lint": "oxfmt --check . && oxlint --type-aware",
- "lint:fix": "oxfmt . && oxlint --fix --type-aware",
+ "lint": "oxfmt --check . && oxlint --type-aware --quiet",
+ "lint:fix": "oxfmt . && oxlint --fix --type-aware --quiet",
"install:server": "yarn workspaces focus @actual-app/sync-server --production",
"typecheck": "tsc -b && tsc -p tsconfig.root.json --noEmit && lage typecheck",
"jq": "./node_modules/node-jq/bin/jq",
@@ -95,7 +95,7 @@
"oxfmt --no-error-on-unmatched-pattern"
],
"*.{js,mjs,jsx,ts,tsx}": [
- "oxlint --fix --type-aware"
+ "oxlint --fix --type-aware --quiet"
]
},
"browserslist": [
diff --git a/upcoming-release-notes/7055.md b/upcoming-release-notes/7055.md
new file mode 100644
index 0000000000..a4e59bdde7
--- /dev/null
+++ b/upcoming-release-notes/7055.md
@@ -0,0 +1,6 @@
+---
+category: Maintenance
+authors: [MatissJanis]
+---
+
+Lint: add "--quiet" flag to stop reporting warnings