Closed renovate[bot] closed 5 months ago
[!IMPORTANT]
Auto Review Skipped
Bot user detected.
To trigger a single review, invoke the
@coderabbitai review
command.
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
This PR contains the following updates:
1.6.1
->1.6.2
Release Notes
biomejs/biome (@biomejs/biome)
### [`v1.6.2`](https://togithub.com/biomejs/biome/blob/HEAD/CHANGELOG.md#162-2024-03-22) [Compare Source](https://togithub.com/biomejs/biome/compare/4ed1cbe96bc9e6d7092e88dd0a54ff8ce78037e5...7669b334ecfb9580abe83bbf6141232805f0e4bd) ##### Analyzer ##### Bug fixes - The `noSuperWithoutExtends` rule now allows for calling `super()` in derived class constructors of class expressions ([#2108](https://togithub.com/biomejs/biome/issues/2108)). Contributed by [@Sec-ant](https://togithub.com/Sec-ant) - Fix discrepancies on file source detection. Allow module syntax in `.cts` files ([#2114](https://togithub.com/biomejs/biome/issues/2114)). Contributed by [@Sec-ant](https://togithub.com/Sec-ant) ##### CLI ##### Bug fixes - Fixes [#2131](https://togithub.com/biomejs/biome/issues/2131), where folders were incorrectly ignored when running the command `check`. Now folders are correctly ignored based on their command. Contributed by [@ematipico](https://togithub.com/ematipico) - Smoother handling of `"endOfLine": "auto"` in prettier migration: falling back to `"lf"` ([#2145](https://togithub.com/biomejs/biome/pull/2145)). Contributed by [@eMerzh](https://togithub.com/eMerzh) ##### Configuration ##### Bug fixes - Fix enabled rules calculation. The precendence of individual rules, `all` and `recommend` presets in top-level and group-level configs is now correctly respected. More details can be seen in ([#2072](https://togithub.com/biomejs/biome/pull/2072)) ([#2028](https://togithub.com/biomejs/biome/issues/2028)). Contributed by [@Sec-ant](https://togithub.com/Sec-ant) ##### Formatter ##### Bug fixes - Fix [#1661](https://togithub.com/biomejs/biome/issues/1661). Now nested conditionals are aligned with Prettier's logic, and won't contain mixed spaces and tabs. Contributed by [@ematipico](https://togithub.com/ematipico) ##### JavaScript APIs ##### Enhancements - Support applying lint fixes when calling the `lintContent` method of the `Biome` class ([#1956](https://togithub.com/biomejs/biome/pull/1956)). Contributed by [@mnahkies](https://togithub.com/mnahkies) ##### Linter ##### Bug fixes - Rule `noUndeclaredDependencies` now also validates `peerDependencies` and `optionalDependencies` ([#2122](https://togithub.com/biomejs/biome/issues/2122)). Contributed by [@Sec-ant](https://togithub.com/Sec-ant) - Rule `noUndeclaredDependencies` won't check `declare module` statements anymore ([#2123](https://togithub.com/biomejs/biome/issues/2123)). Contributed by [@Sec-ant](https://togithub.com/Sec-ant) - Fix [#1925](https://togithub.com/biomejs/biome/issues/1925). The fix for `useOptionalChain` would sometimes suggest an incorrect fix that discarded optional chaining operators on the left-hand side of logical expressions. These are now preserved. Contributed by [@arendjr](https://togithub.com/arendjr) - Rule `noUndeclaredVariables` now also checks for worker globals ([#2121](https://togithub.com/biomejs/biome/issues/2121)). Contributed by [@Sec-ant](https://togithub.com/Sec-ant) ##### LSP ##### Bug fixes - Correctly parse `.jsonc` files. Contributed by [@Sec-ant](https://togithub.com/Sec-ant) - Correctly resolve external `extends` configs. Contributed by [@Sec-ant](https://togithub.com/Sec-ant)Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), 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.