biomejs/biome (@biomejs/biome)
### [`v1.7.1`](https://togithub.com/biomejs/biome/blob/HEAD/CHANGELOG.md#171-2024-04-22)
[Compare Source](https://togithub.com/biomejs/biome/compare/2dce6af835cc9339669b09f3a758de36a90b15f7...aba7b0c1c40a6137b3b78064841f621b53aa5fd0)
##### Editors
##### Bug fixes
- Fix [#2403](https://togithub.com/biomejs/biome/issues/2403) by printing the errors in the client console. Contributed by [@ematipico](https://togithub.com/ematipico)
##### Formatter
##### Bug fixes
- Add parentheses for the return expression that has leading multiline comments. [#2504](https://togithub.com/biomejs/biome/pull/2504). Contributed by [@ah-yu](https://togithub.com/ah-yu)
- Correctly format dangling comments of continue statements. [#2555](https://togithub.com/biomejs/biome/pull/2555). Contributed by [@ah-yu](https://togithub.com/ah-yu)
##### Linter
##### Bug fixes
- Fix case where `jsxRuntime` wasn't being respected by `useImportType` rule ([#2473](https://togithub.com/biomejs/biome/issues/2473)).Contributed by [@arendjr](https://togithub.com/arendjr)
- Fix [#2460](https://togithub.com/biomejs/biome/issues/2460), where the rule `noUselessFragments` was crashing the linter in some cases. Now cases like these are correctly handled:
```jsx
callFunction(<>{bar}>)
```
Contributed by [@ematipico](https://togithub.com/ematipico)
- Fix [#2366](https://togithub.com/biomejs/biome/issues/2366), where `noDuplicateJsonKeys` incorrectly computed the kes to highlight. Contributed by [@ematipico](https://togithub.com/ematipico)
##### Enhancements
- The rule `noMisplacedAssertions` now considers valid calling `expect` inside `waitFor`:
```js
import { waitFor } from '@testing-library/react';
await waitFor(() => {
expect(111).toBe(222);
});
```
Contributed by [@ematipico](https://togithub.com/ematipico)
Configuration
📅 Schedule: Branch creation - "before 4am" in timezone Asia/Tokyo, Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
[ ] If you want to rebase/retry this PR, check this box
This PR has been generated by Mend Renovate. View repository job log here.
This PR contains the following updates:
1.7.0
->1.7.1
Release Notes
biomejs/biome (@biomejs/biome)
### [`v1.7.1`](https://togithub.com/biomejs/biome/blob/HEAD/CHANGELOG.md#171-2024-04-22) [Compare Source](https://togithub.com/biomejs/biome/compare/2dce6af835cc9339669b09f3a758de36a90b15f7...aba7b0c1c40a6137b3b78064841f621b53aa5fd0) ##### Editors ##### Bug fixes - Fix [#2403](https://togithub.com/biomejs/biome/issues/2403) by printing the errors in the client console. Contributed by [@ematipico](https://togithub.com/ematipico) ##### Formatter ##### Bug fixes - Add parentheses for the return expression that has leading multiline comments. [#2504](https://togithub.com/biomejs/biome/pull/2504). Contributed by [@ah-yu](https://togithub.com/ah-yu) - Correctly format dangling comments of continue statements. [#2555](https://togithub.com/biomejs/biome/pull/2555). Contributed by [@ah-yu](https://togithub.com/ah-yu) ##### Linter ##### Bug fixes - Fix case where `jsxRuntime` wasn't being respected by `useImportType` rule ([#2473](https://togithub.com/biomejs/biome/issues/2473)).Contributed by [@arendjr](https://togithub.com/arendjr) - Fix [#2460](https://togithub.com/biomejs/biome/issues/2460), where the rule `noUselessFragments` was crashing the linter in some cases. Now cases like these are correctly handled: ```jsx callFunction(<>{bar}>) ``` Contributed by [@ematipico](https://togithub.com/ematipico) - Fix [#2366](https://togithub.com/biomejs/biome/issues/2366), where `noDuplicateJsonKeys` incorrectly computed the kes to highlight. Contributed by [@ematipico](https://togithub.com/ematipico) ##### Enhancements - The rule `noMisplacedAssertions` now considers valid calling `expect` inside `waitFor`: ```js import { waitFor } from '@testing-library/react'; await waitFor(() => { expect(111).toBe(222); }); ``` Contributed by [@ematipico](https://togithub.com/ematipico)Configuration
📅 Schedule: Branch creation - "before 4am" in timezone Asia/Tokyo, Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate. View repository job log here.