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)
Configuration
📅 Schedule: Branch creation - "before 9am every weekday,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.8.2
->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)Configuration
📅 Schedule: Branch creation - "before 9am every weekday,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.