cli/v1.7.1
版本发布时间: 2024-04-22 23:47:59
biomejs/biome最新发布版本:js-api/v0.7.1(2024-10-02 00:17:16)
Editors
Bug fixes
- Fix #2403 by printing the errors in the client console. Contributed by @ematipico
Formatter
Bug fixes
-
Add parentheses for the return expression that has leading multiline comments. #2504. Contributed by @ah-yu
-
Correctly format dangling comments of continue statements. #2555. Contributed by @ah-yu
Linter
Bug fixes
- Fix case where
jsxRuntime
wasn't being respected byuseImportType
rule (#2473).Contributed by @arendjr - Fix #2460, where the rule
noUselessFragments
was crashing the linter in some cases. Now cases like these are correctly handled:
Contributed by @ematipicocallFunction(<>{bar}</>)
- Fix #2366, where
noDuplicateJsonKeys
incorrectly computed the kes to highlight. Contributed by @ematipico
Enhancements
- The rule
noMisplacedAssertions
now considers valid callingexpect
insidewaitFor
:
Contributed by @ematipicoimport { waitFor } from '@testing-library/react'; await waitFor(() => { expect(111).toBe(222); });
What's Changed
Other changes
- fix(lint/noBarrelFile): rule source by @Conaclos in https://github.com/biomejs/biome/pull/2464
- refactor(bench): update import statement and module handling in run.js by @chansuke in https://github.com/biomejs/biome/pull/2471
- docs: fix missing punctuation and typo by @uncenter in https://github.com/biomejs/biome/pull/2477
- fix: missing "--apply" option in the command example by @t-shiratori in https://github.com/biomejs/biome/pull/2479
- chore: tidy up dependencies by @ematipico in https://github.com/biomejs/biome/pull/2480
- chore(ci): add repository dispatch workflow by @Sec-ant in https://github.com/biomejs/biome/pull/2442
- chore: fix some typos in comments by @TechVest in https://github.com/biomejs/biome/pull/2486
- feat: start working on yaml support by @defnot001 in https://github.com/biomejs/biome/pull/2428
- chore: prepare knope by @ematipico in https://github.com/biomejs/biome/pull/2484
- ci: trigger prepare release by @ematipico in https://github.com/biomejs/biome/pull/2489
- ci: trigger prepare release by @ematipico in https://github.com/biomejs/biome/pull/2490
- chore: remove variables from workflows by @ematipico in https://github.com/biomejs/biome/pull/2491
- chore: speed up
wasm-pack
profiling build by @Sec-ant in https://github.com/biomejs/biome/pull/2494 - fix: reverts hashbrown, which causes issues when compiling to WASM by @ematipico in https://github.com/biomejs/biome/pull/2496
- fix(linter): name of typescript-eslint by @ematipico in https://github.com/biomejs/biome/pull/2503
- Handle operation parsing error GraphQL by @vohoanglong0107 in https://github.com/biomejs/biome/pull/2434
- chore: remove website from monorepo by @ematipico in https://github.com/biomejs/biome/pull/2505
- ci: add a workflow for linting pr titles by @unvalley in https://github.com/biomejs/biome/pull/2497
- feat(rule/solidjs): add no-react-specific-props by @marvin-j97 in https://github.com/biomejs/biome/pull/2427
- refactor(js_syntax): remove TsNameWithTypeArguments by @Conaclos in https://github.com/biomejs/biome/pull/2510
- fix(linter): add missing fix kind for solid rule by @ematipico in https://github.com/biomejs/biome/pull/2519
- feat(biome_css_analyzer): noCssEmptyBlock by @togami2864 in https://github.com/biomejs/biome/pull/2513
- chore: added how to create new css lint rule by @togami2864 in https://github.com/biomejs/biome/pull/2522
- refactor(css_formatter): implement FormatCssBlockLike by @denbezrukov in https://github.com/biomejs/biome/pull/2531
- feat(biome_css_analyze): noDuplicateSelectorsKeyframeBlock by @isnakode in https://github.com/biomejs/biome/pull/2534
- docs: fixed path to crates, updated link to translating doc by @viraxslot in https://github.com/biomejs/biome/pull/2538
- fix(biome_css_analyzer): update lint error messages by @togami2864 in https://github.com/biomejs/biome/pull/2545
- feat(biome_css_analyze): noImportantInKeyframe by @isnakode in https://github.com/biomejs/biome/pull/2542
- chore(deps): update rust crate serde_json to 1.0.116 by @renovate in https://github.com/biomejs/biome/pull/2553
- chore(deps): update rust crate proc-macro2 to 1.0.81 by @renovate in https://github.com/biomejs/biome/pull/2551
- chore(deps): update github-actions by @renovate in https://github.com/biomejs/biome/pull/2549
- chore: add a new bronze sponsor by @ematipico in https://github.com/biomejs/biome/pull/2556
- chore(deps): update rust:1.77.2 docker digest to 6052afe by @renovate in https://github.com/biomejs/biome/pull/2550
- chore(deps): update rust crate serde to 1.0.198 by @renovate in https://github.com/biomejs/biome/pull/2552
- feat(biome_graphql_parser): parse fragment definition by @vohoanglong0107 in https://github.com/biomejs/biome/pull/2506
- refactor(ci): add more valid PR title types by @Conaclos in https://github.com/biomejs/biome/pull/2559
- docs: fix typo in biome analyze contribution document by @GunseiKPaseri in https://github.com/biomejs/biome/pull/2560
- build(deps): remove 'case' dependency by @Conaclos in https://github.com/biomejs/biome/pull/2561
New Contributors
- @uncenter made their first contribution in https://github.com/biomejs/biome/pull/2477
- @t-shiratori made their first contribution in https://github.com/biomejs/biome/pull/2479
- @TechVest made their first contribution in https://github.com/biomejs/biome/pull/2486
- @defnot001 made their first contribution in https://github.com/biomejs/biome/pull/2428
- @marvin-j97 made their first contribution in https://github.com/biomejs/biome/pull/2427
- @viraxslot made their first contribution in https://github.com/biomejs/biome/pull/2538
- @GunseiKPaseri made their first contribution in https://github.com/biomejs/biome/pull/2560
Full Changelog: https://github.com/biomejs/biome/compare/cli/v1.7.0...cli/v1.7.1
1、 biome-darwin-arm64 17.35MB
2、 biome-darwin-x64 18.81MB
3、 biome-linux-arm64 18.25MB
4、 biome-linux-arm64-musl 16.34MB
5、 biome-linux-x64 21.01MB
6、 biome-linux-x64-musl 20.29MB
7、 biome-win32-arm64.exe 20.1MB
8、 biome-win32-x64.exe 23.98MB