cli/v1.5.1
版本发布时间: 2024-01-10 21:29:12
biomejs/biome最新发布版本:js-api/v0.7.1(2024-10-02 00:17:16)
CLI
Bug fixes
- The diagnostics
files/missingHandler
are now shown only when the option--verbose
is passed. Contributed by @ematipico - The diagnostics for protected files are now shown only when the option
--verbose
is passed. Contributed by @ematipico - Fix #1465, by taking in consideration the workspace folder when matching a pattern. Contributed by @ematipico
- Fix #1465, by correctly process globs that contain file names. Contributed by @ematipico
Formatter
Bug fixes
- Fix #1170. Fix placement of comments inside default switch clause. Now all line comments that have a preceding node will keep their position. Contributed by @kalleep
Linter
Bug fixes
-
Fix #1335. noUselessFragments now ignores code action on component props when the fragment is empty. Contributed by @vasucp1207
-
useConsistentArrayType was accidentally placed in the
style
rule group instead of thenursery
group. It is now correctly placed undernursery
. -
Fix #1483. useConsistentArrayType now correctly handles its option. Contributed by @Conaclos
-
Fix #1502. useArrowFunction now correctly handle functions that return a (comma) sequence expression. Contributed by @Conaclos
Previously the rule made an erroneous suggestion:
- f(function() { return 0, 1; }, ""); + f(() => 0, 1, "")
Now, the rule wraps any comma sequence between parentheses:
- f(function() { return 0, 1; }, ""); + f(() => (0, 1), "")
What's Changed
Other changes
- feat: update vscode extension image on website by @unvalley in https://github.com/biomejs/biome/pull/1470
- doc: add git-hook translation by @eryue0220 in https://github.com/biomejs/biome/pull/1444
- Fix typo in roadmap-2024.md by @yukukotani in https://github.com/biomejs/biome/pull/1474
- docs: update language server setup info for Helix by @David-Else in https://github.com/biomejs/biome/pull/1031
- fix: Use the correct diagnostic level in advice by @thewilloftheshadow in https://github.com/biomejs/biome/pull/1475
- docs(website): add
<link rel=alternate>
to RSS feeds by @azu in https://github.com/biomejs/biome/pull/1486
New Contributors
- @yukukotani made their first contribution in https://github.com/biomejs/biome/pull/1474
- @David-Else made their first contribution in https://github.com/biomejs/biome/pull/1031
- @thewilloftheshadow made their first contribution in https://github.com/biomejs/biome/pull/1475
- @azu made their first contribution in https://github.com/biomejs/biome/pull/1486
Full Changelog: https://github.com/biomejs/biome/compare/cli/v1.5.0...cli/v1.5.1
1、 biome-darwin-arm64 16.32MB
2、 biome-darwin-x64 17.71MB
3、 biome-linux-arm64 17.64MB
4、 biome-linux-arm64-musl 15.73MB
5、 biome-linux-x64 19.73MB
6、 biome-linux-x64-musl 18.98MB
7、 biome-win32-arm64.exe 19.06MB
8、 biome-win32-x64.exe 22.37MB