biomejs/biome (@biomejs/biome)
### [`v1.6.3`](https://togithub.com/biomejs/biome/blob/HEAD/CHANGELOG.md#163-2024-03-25)
[Compare Source](https://togithub.com/biomejs/biome/compare/7669b334ecfb9580abe83bbf6141232805f0e4bd...23b5a73ac7ccd4920f13919aaa712b9364020e88)
##### Analyzer
##### CLI
##### Bug fixes
- Fix configuration resolution. Biome is now able to correctly find the `biome.jsonc` configuration file when `--config-path` is explicitly set ([#2164](https://togithub.com/biomejs/biome/issues/2164)). Contributed by [@Sec-ant](https://togithub.com/Sec-ant)
- JavaScript/TypeScript files of different variants (`.ts`, `.js`, `.tsx`, `.jsx`) in a single workspace now have stable formatting behaviors when running the CLI command in paths of different nested levels or in different operating systems ([#2080](https://togithub.com/biomejs/biome/issues/2080), [#2109](https://togithub.com/biomejs/biome/issues/2109)). Contributed by [@Sec-ant](https://togithub.com/Sec-ant)
##### Configuration
##### Bug fixes
- Complete the documentation and overrides support for options `formatter.lineEnding`, `[language].formatter.lineEnding`, `formatter.attributePosition` and `javascript.formatter.attributePosition`. Contributed by [@Sec-ant](https://togithub.com/Sec-ant)
##### Editors
##### Formatter
##### Bug fixes
- Fix [#2172](https://togithub.com/biomejs/biome/issues/2172) by breaking long object destructuring patterns. Contributed by [@ah-yu](https://togithub.com/ah-yu)
##### JavaScript APIs
##### Linter
##### New features
- Add rule [noEvolvingAny](https://biomejs.dev/linter/rules/no-evolving-any) to disallow variables from evolving into `any` type through reassignments. Contributed by [@fujiyamaorange](https://togithub.com/fujiyamaorange)
##### LSP
##### Bug fixes
- Quickfix action no longer autofixes lint rule errors on save when `linter` is disabled ([#2161](https://togithub.com/biomejs/biome/issues/2161)). Contributed by [@Sec-ant](https://togithub.com/Sec-ant)
- Range formatting for Astro/Svelte/Vue doesn't place code out of place, especially when formatting on paste is enabled. Contributed by [@ematipico](https://togithub.com/ematipico)
##### Parser
### [`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 - "every weekend" 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.6.1
->1.6.3
Release Notes
biomejs/biome (@biomejs/biome)
### [`v1.6.3`](https://togithub.com/biomejs/biome/blob/HEAD/CHANGELOG.md#163-2024-03-25) [Compare Source](https://togithub.com/biomejs/biome/compare/7669b334ecfb9580abe83bbf6141232805f0e4bd...23b5a73ac7ccd4920f13919aaa712b9364020e88) ##### Analyzer ##### CLI ##### Bug fixes - Fix configuration resolution. Biome is now able to correctly find the `biome.jsonc` configuration file when `--config-path` is explicitly set ([#2164](https://togithub.com/biomejs/biome/issues/2164)). Contributed by [@Sec-ant](https://togithub.com/Sec-ant) - JavaScript/TypeScript files of different variants (`.ts`, `.js`, `.tsx`, `.jsx`) in a single workspace now have stable formatting behaviors when running the CLI command in paths of different nested levels or in different operating systems ([#2080](https://togithub.com/biomejs/biome/issues/2080), [#2109](https://togithub.com/biomejs/biome/issues/2109)). Contributed by [@Sec-ant](https://togithub.com/Sec-ant) ##### Configuration ##### Bug fixes - Complete the documentation and overrides support for options `formatter.lineEnding`, `[language].formatter.lineEnding`, `formatter.attributePosition` and `javascript.formatter.attributePosition`. Contributed by [@Sec-ant](https://togithub.com/Sec-ant) ##### Editors ##### Formatter ##### Bug fixes - Fix [#2172](https://togithub.com/biomejs/biome/issues/2172) by breaking long object destructuring patterns. Contributed by [@ah-yu](https://togithub.com/ah-yu) ##### JavaScript APIs ##### Linter ##### New features - Add rule [noEvolvingAny](https://biomejs.dev/linter/rules/no-evolving-any) to disallow variables from evolving into `any` type through reassignments. Contributed by [@fujiyamaorange](https://togithub.com/fujiyamaorange) ##### LSP ##### Bug fixes - Quickfix action no longer autofixes lint rule errors on save when `linter` is disabled ([#2161](https://togithub.com/biomejs/biome/issues/2161)). Contributed by [@Sec-ant](https://togithub.com/Sec-ant) - Range formatting for Astro/Svelte/Vue doesn't place code out of place, especially when formatting on paste is enabled. Contributed by [@ematipico](https://togithub.com/ematipico) ##### Parser ### [`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 - "every weekend" 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.