Skip to content

Commit 579a9f8

Browse files
committed
fix: use tilde range for oxlint packages
According to their [versioning guide](https://oxc.rs/docs/guide/usage/linter/versioning#are-new-lint-errors-a-breaking-change), it is possible that a minor release of `oxlint` introduces new lint errors. While this is the desired behavior from a linter's perspective, it might cause trouble in real world projects where developers may not have the capacity to fix all new lint errors immediately.
1 parent 1cb64f8 commit 579a9f8

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,12 +44,12 @@
4444
"@vue/eslint-config-prettier": "^10.2.0",
4545
"@vue/eslint-config-typescript": "^14.5.0",
4646
"eslint": "^9.28.0",
47-
"eslint-plugin-oxlint": "^1.0.0",
47+
"eslint-plugin-oxlint": "~1.0.0",
4848
"eslint-plugin-vue": "~10.2.0",
4949
"globals": "^16.2.0",
5050
"jiti": "^2.4.2",
5151
"npm-run-all2": "^8.0.4",
52-
"oxlint": "^1.0.0",
52+
"oxlint": "~1.0.0",
5353
"prettier": "3.5.3",
5454
"typescript": "~5.8.2"
5555
}

pnpm-lock.yaml

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)