CLI v1.7.1
github-actions
released this
22 Apr 15:47
·
1299 commits
to main
since this release
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 #2464
- refactor(bench): update import statement and module handling in run.js by @chansuke in #2471
- docs: fix missing punctuation and typo by @uncenter in #2477
- fix: missing "--apply" option in the command example by @t-shiratori in #2479
- chore: tidy up dependencies by @ematipico in #2480
- chore(ci): add repository dispatch workflow by @Sec-ant in #2442
- chore: fix some typos in comments by @TechVest in #2486
- feat: start working on yaml support by @defnot001 in #2428
- chore: prepare knope by @ematipico in #2484
- ci: trigger prepare release by @ematipico in #2489
- ci: trigger prepare release by @ematipico in #2490
- chore: remove variables from workflows by @ematipico in #2491
- chore: speed up
wasm-pack
profiling build by @Sec-ant in #2494 - fix: reverts hashbrown, which causes issues when compiling to WASM by @ematipico in #2496
- fix(linter): name of typescript-eslint by @ematipico in #2503
- Handle operation parsing error GraphQL by @vohoanglong0107 in #2434
- chore: remove website from monorepo by @ematipico in #2505
- ci: add a workflow for linting pr titles by @unvalley in #2497
- feat(rule/solidjs): add no-react-specific-props by @marvin-j97 in #2427
- refactor(js_syntax): remove TsNameWithTypeArguments by @Conaclos in #2510
- fix(linter): add missing fix kind for solid rule by @ematipico in #2519
- feat(biome_css_analyzer): noCssEmptyBlock by @togami2864 in #2513
- chore: added how to create new css lint rule by @togami2864 in #2522
- refactor(css_formatter): implement FormatCssBlockLike by @denbezrukov in #2531
- feat(biome_css_analyze): noDuplicateSelectorsKeyframeBlock by @isnakode in #2534
- docs: fixed path to crates, updated link to translating doc by @viraxslot in #2538
- fix(biome_css_analyzer): update lint error messages by @togami2864 in #2545
- feat(biome_css_analyze): noImportantInKeyframe by @isnakode in #2542
- chore(deps): update rust crate serde_json to 1.0.116 by @renovate in #2553
- chore(deps): update rust crate proc-macro2 to 1.0.81 by @renovate in #2551
- chore(deps): update github-actions by @renovate in #2549
- chore: add a new bronze sponsor by @ematipico in #2556
- chore(deps): update rust:1.77.2 docker digest to 6052afe by @renovate in #2550
- chore(deps): update rust crate serde to 1.0.198 by @renovate in #2552
- feat(biome_graphql_parser): parse fragment definition by @vohoanglong0107 in #2506
- refactor(ci): add more valid PR title types by @Conaclos in #2559
- docs: fix typo in biome analyze contribution document by @GunseiKPaseri in #2560
- build(deps): remove 'case' dependency by @Conaclos in #2561
New Contributors
- @uncenter made their first contribution in #2477
- @t-shiratori made their first contribution in #2479
- @TechVest made their first contribution in #2486
- @defnot001 made their first contribution in #2428
- @marvin-j97 made their first contribution in #2427
- @viraxslot made their first contribution in #2538
- @GunseiKPaseri made their first contribution in #2560
Full Changelog: cli/v1.7.0...cli/v1.7.1