oxlint_v0.9.10
版本发布时间: 2024-10-08 13:45:46
oxc-project/oxc最新发布版本:oxlint_v0.9.10(2024-10-08 13:45:46)
[0.9.10] - 2024-10-08
-
95ca01c cfg: [BREAKING] Make BasicBlock::unreachable private (#6321) (DonIsaac)
-
5a73a66 regular_expression: [BREAKING] Simplify public APIs (#6262) (leaysgur)
Features
- f272137 editors/vscode: Clear diagnostics on file deletion (#6326) (dalaoshu)
- 1a5f293 editors/vscode: Update VSCode extention to use project's language server (#6132) (dalaoshu)
- 376cc09 linter: Implement
no-throw-literal
(#6144) (dalaoshu) - 5957214 linter: Allow fixing in files with source offsets (#6197) (camchenry)
- a089e19 linter: Eslint/no-else-return (#4305) (yoho)
- 183739f linter: Implement prefer-await-to-callbacks (#6153) (dalaoshu)
- ae539af linter: Implement no-return-assign (#6108) (Radu Baston)
Bug Fixes
- 00df6e5 linter: Friendly diagnostic messages for
no-else-return
(#6349) (DonIsaac) - 71ad5d3 linter:
no-else-return
fixer fails whenelse
has no trailing whitespace (#6348) (DonIsaac) - 9e9808b linter: Fix regression when parsing ts in vue files (#6336) (Boshen)
- 93c6db6 linter: Improve docs and diagnostics message for no-else-return (#6327) (DonIsaac)
- e0a3378 linter: Correct false positive in
unicorn/prefer-string-replace-all
(#6263) (H11) - ea28ee9 linter: Improve the fixer of
prefer-namespace-keyword
(#6230) (dalaoshu) - f6a3450 linter: Get correct source offsets for astro files (#6196) (camchenry)
- be0030c linter: Allow whitespace control characters in
no-control-regex
(#6140) (camchenry) - e7e8ead linter: False positive in
no-return-assign
(#6128) (DonIsaac)
Performance
- ac0a82a linter: Reuse allocator when there are multiple source texts (#6337) (Boshen)
- 50a0029 linter: Do not concat vec in
no-useless-length-check
(#6276) (camchenry)
Documentation
- 7ca70dd linter: Add docs for
ContextHost
andLintContext
(#6272) (camchenry) - a949ecb linter: Improve docs for
eslint/getter-return
(#6229) (DonIsaac) - 14ba263 linter: Improve docs for
eslint-plugin-import
rules (#6131) (dalaoshu)
Refactor
- 40932f7 cfg: Use IndexVec for storing basic blocks (#6323) (DonIsaac)
- 642725c linter: Rename vars from
ast_node_id
tonode_id
(#6305) (overlookmotel) - 8413175 linter: Move shared function from utils to rule (#6127) (dalaoshu)
- ba9c372 linter: Make jest/vitest rule mapping more clear (#6273) (camchenry)
- 82b8f21 linter: Add schemars and serde traits to AllowWarnDeny and RuleCategories (#6119) (DonIsaac)
- ea908f7 linter: Consolidate file loading logic (#6130) (DonIsaac)
- db751f0 linter: Use regexp AST visitor in
no-control-regex
(#6129) (camchenry) - 3aa7e42 linter: Use RegExp AST visitor for
no-hex-escape
(#6117) (camchenry) - 9d5b44a linter: Use regex visitor in
no-regex-spaces
(#6063) (camchenry) - 0d44cf7 linter: Use regex visitor in
no-useless-escape
(#6062) (camchenry) - eeb8873 linter: Use regex visitor in
no-empty-character-class
(#6058) (camchenry)
Testing
- d883562 linter: Invalid
eslint/no-unused-vars
options (#6228) (DonIsaac)
1、 oxlint-darwin-arm64 6.07MB
2、 oxlint-darwin-arm64.tar.gz 2.61MB
3、 oxlint-darwin-x64 7MB
4、 oxlint-darwin-x64.tar.gz 2.96MB
5、 oxlint-linux-arm64-gnu 6.82MB
6、 oxlint-linux-arm64-gnu.tar.gz 2.81MB
7、 oxlint-linux-arm64-musl 6.34MB
8、 oxlint-linux-arm64-musl.tar.gz 2.82MB
9、 oxlint-linux-x64-gnu 8.18MB
10、 oxlint-linux-x64-gnu.tar.gz 3.2MB
11、 oxlint-linux-x64-musl 8.25MB
12、 oxlint-linux-x64-musl.tar.gz 3.25MB
13、 oxlint-win32-arm64.exe 5.59MB
14、 oxlint-win32-arm64.zip 2.42MB
15、 oxlint-win32-x64.exe 6.59MB
16、 oxlint-win32-x64.zip 2.69MB