biomejs/biome (@biomejs/biome)
### [`v1.8.3`](https://togithub.com/biomejs/biome/blob/HEAD/CHANGELOG.md#v183-2022-06-27)
[Compare Source](https://togithub.com/biomejs/biome/compare/54b4c9a39078836843ef363bb6986fad74834480...c28d5978c1440b3ae184d1cc354233711abf8a8e)
##### CLI
##### Bug fixes
- Fix [#3104](https://togithub.com/biomejs/biome/issues/3104) by suppressing node warnings when using `biome migrate`. Contributed by [@SuperchupuDev](https://togithub.com/SuperchupuDev)
- Force colors to be off when using the GitHub reporter to properly create annotations in GitHub actions ([#3148](https://togithub.com/biomejs/biome/issues/3148)). Contributed by [@Sec-ant](https://togithub.com/Sec-ant)
##### Parser
##### Bug fixes
- Implement [CSS unicode range](https://togithub.com/biomejs/biome/pull/3251). Contributed by [@denbezrukov](https://togithub.com/denbezrukov)
##### Formatter
##### Bug fixes
- Fix [#3184](https://togithub.com/biomejs/biome/issues/3184) CSS formatter converts custom identifiers to lowercase. Contributed by [@denbezrukov](https://togithub.com/denbezrukov)
- Fix [#3256](https://togithub.com/biomejs/biome/issues/3256) constant crashes when editing css files [#3256](https://togithub.com/biomejs/biome/issues/3256). Contributed by [@denbezrukov](https://togithub.com/denbezrukov)
##### Linter
##### New features
- Add `nursery/useDeprecatedReason` rule. Contributed by [@vohoanglong0107](https://togithub.com/vohoanglong0107).
- Add [nursery/noExportedImports](https://biomejs.dev/linter/rules/no-exported-imports/). Contributed by [@Conaclos](https://togithub.com/Conaclos)
##### Bug fixes
- `useConsistentArrayType` and `useShorthandArrayType` now ignore `Array` in the `extends` and `implements` clauses. Fix [#3247](https://togithub.com/biomejs/biome/issues/3247). Contributed by [@Conaclos](https://togithub.com/Conaclos)
- Fixes [#3066](https://togithub.com/biomejs/biome/issues/3066) by taking into account the dependencies declared in the `package.json`. Contributed by [@ematipico](https://togithub.com/ematipico)
- The code action of the `useArrowFunction` rule now preserves a trailing comma when there is only a single type parameter in the arrow function and JSX is enabled. Fixes [#3292](https://togithub.com/biomejs/biome/issues/3292). Contributed by [@Sec-ant](https://togithub.com/Sec-ant)
##### Enhancements
- Enhance tailwind sorting lint rule [#1274](https://togithub.com/biomejs/biome/issues/1274) with variant support.
Every preconfigured variant is assigned a `weight` that concurs on establishing the output sorting order.
Since nesting variants on the same utility class is possible, the resulting `weight` is the Bitwise XOR of all the variants weight for that class.
Dynamic variants (e.g. `has-[.custom-class]`, `group-[:checked]`) are also supported and they take the `weight` of their base variant name the custom value attached (e.g. `has-[.custom-class]` takes `has` weight).
Arbitrary variants (e.g. `[&nth-child(2)]`) don't have a weight assigned and they are placed after every known variant.
Classes with the same amount of arbitrary variants follow lexicographical order. The class that has the highest number of nested arbitrary variants is placed last.
Screen variants (e.g. `sm:`, `max-md:`, `min-lg:`) are not supported yet.
Contributed by [@lutaok](https://togithub.com/lutaok)
### [`v1.8.2`](https://togithub.com/biomejs/biome/blob/HEAD/CHANGELOG.md#v182-2024-06-20)
[Compare Source](https://togithub.com/biomejs/biome/compare/39db99b1cd087d6aa46ecfecba6adbfa0d45a303...54b4c9a39078836843ef363bb6986fad74834480)
##### CLI
##### Bug fixes
- Fix [#3201](https://togithub.com/biomejs/biome/issues/3201) by correctly injecting the source code of the file when printing the diagnostics. Contributed by [@ematipico](https://togithub.com/ematipico)
- Fix [#3179](https://togithub.com/biomejs/biome/issues/3179) where comma separators are not correctly removed after running `biome migrate` and thus choke the parser. Contributed by [@Sec-ant](https://togithub.com/Sec-ant)
- Fix [#3232](https://togithub.com/biomejs/biome/issues/3232) by correctly using the colors set by the user. Contributed by [@ematipico](https://togithub.com/ematipico)
##### Enhancement
- Reword the reporter message `No fixes needed` to `No fixes applied`.
The former message is misleading when there're still errors or warnings in the files that should be taken care of manually. For example:
```block
Checked 2 files in
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 is behind base branch, 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 contains the following updates:
1.7.1
->1.8.3
Release Notes
biomejs/biome (@biomejs/biome)
### [`v1.8.3`](https://togithub.com/biomejs/biome/blob/HEAD/CHANGELOG.md#v183-2022-06-27) [Compare Source](https://togithub.com/biomejs/biome/compare/54b4c9a39078836843ef363bb6986fad74834480...c28d5978c1440b3ae184d1cc354233711abf8a8e) ##### CLI ##### Bug fixes - Fix [#3104](https://togithub.com/biomejs/biome/issues/3104) by suppressing node warnings when using `biome migrate`. Contributed by [@SuperchupuDev](https://togithub.com/SuperchupuDev) - Force colors to be off when using the GitHub reporter to properly create annotations in GitHub actions ([#3148](https://togithub.com/biomejs/biome/issues/3148)). Contributed by [@Sec-ant](https://togithub.com/Sec-ant) ##### Parser ##### Bug fixes - Implement [CSS unicode range](https://togithub.com/biomejs/biome/pull/3251). Contributed by [@denbezrukov](https://togithub.com/denbezrukov) ##### Formatter ##### Bug fixes - Fix [#3184](https://togithub.com/biomejs/biome/issues/3184) CSS formatter converts custom identifiers to lowercase. Contributed by [@denbezrukov](https://togithub.com/denbezrukov) - Fix [#3256](https://togithub.com/biomejs/biome/issues/3256) constant crashes when editing css files [#3256](https://togithub.com/biomejs/biome/issues/3256). Contributed by [@denbezrukov](https://togithub.com/denbezrukov) ##### Linter ##### New features - Add `nursery/useDeprecatedReason` rule. Contributed by [@vohoanglong0107](https://togithub.com/vohoanglong0107). - Add [nursery/noExportedImports](https://biomejs.dev/linter/rules/no-exported-imports/). Contributed by [@Conaclos](https://togithub.com/Conaclos) ##### Bug fixes - `useConsistentArrayType` and `useShorthandArrayType` now ignore `Array` in the `extends` and `implements` clauses. Fix [#3247](https://togithub.com/biomejs/biome/issues/3247). Contributed by [@Conaclos](https://togithub.com/Conaclos) - Fixes [#3066](https://togithub.com/biomejs/biome/issues/3066) by taking into account the dependencies declared in the `package.json`. Contributed by [@ematipico](https://togithub.com/ematipico) - The code action of the `useArrowFunction` rule now preserves a trailing comma when there is only a single type parameter in the arrow function and JSX is enabled. Fixes [#3292](https://togithub.com/biomejs/biome/issues/3292). Contributed by [@Sec-ant](https://togithub.com/Sec-ant) ##### Enhancements - Enhance tailwind sorting lint rule [#1274](https://togithub.com/biomejs/biome/issues/1274) with variant support. Every preconfigured variant is assigned a `weight` that concurs on establishing the output sorting order. Since nesting variants on the same utility class is possible, the resulting `weight` is the Bitwise XOR of all the variants weight for that class. Dynamic variants (e.g. `has-[.custom-class]`, `group-[:checked]`) are also supported and they take the `weight` of their base variant name the custom value attached (e.g. `has-[.custom-class]` takes `has` weight). Arbitrary variants (e.g. `[&nth-child(2)]`) don't have a weight assigned and they are placed after every known variant. Classes with the same amount of arbitrary variants follow lexicographical order. The class that has the highest number of nested arbitrary variants is placed last. Screen variants (e.g. `sm:`, `max-md:`, `min-lg:`) are not supported yet. Contributed by [@lutaok](https://togithub.com/lutaok) ### [`v1.8.2`](https://togithub.com/biomejs/biome/blob/HEAD/CHANGELOG.md#v182-2024-06-20) [Compare Source](https://togithub.com/biomejs/biome/compare/39db99b1cd087d6aa46ecfecba6adbfa0d45a303...54b4c9a39078836843ef363bb6986fad74834480) ##### CLI ##### Bug fixes - Fix [#3201](https://togithub.com/biomejs/biome/issues/3201) by correctly injecting the source code of the file when printing the diagnostics. Contributed by [@ematipico](https://togithub.com/ematipico) - Fix [#3179](https://togithub.com/biomejs/biome/issues/3179) where comma separators are not correctly removed after running `biome migrate` and thus choke the parser. Contributed by [@Sec-ant](https://togithub.com/Sec-ant) - Fix [#3232](https://togithub.com/biomejs/biome/issues/3232) by correctly using the colors set by the user. Contributed by [@ematipico](https://togithub.com/ematipico) ##### Enhancement - Reword the reporter message `No fixes needed` to `No fixes applied`. The former message is misleading when there're still errors or warnings in the files that should be taken care of manually. For example: ```block Checked 2 files inConfiguration
📅 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 is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.