Closed renovate[bot] closed 2 months ago
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 96.81%. Comparing base (
87dc5cf
) to head (21eaa1a
). Report is 1 commits behind head on main.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
This PR contains the following updates:
1.7.3
->1.8.0
Release Notes
biomejs/biome (@biomejs/biome)
### [`v1.8.0`](https://togithub.com/biomejs/biome/blob/HEAD/CHANGELOG.md#180-2024-06-04) [Compare Source](https://togithub.com/biomejs/biome/compare/b9f90b7ee63506a1995bc29f4e389efec25a1525...378c05edd47608a1b8cba725564c807b2e772bd6) ##### Analyzer ##### New features - Allow suppression comments to suppress individual instances of rules. This is used for the lint rule `useExhaustiveDependencies`, which is now able to suppress specific dependencies. Fixes [#2509](https://togithub.com/biomejs/biome/issues/2509). Contributed by [@arendjr](https://togithub.com/arendjr) ##### Enhancements - Assume `Astro` object is always a global when processing `.astro` files. Contributed by [@minht11](https://togithub.com/minht11) - Assume Vue compiler macros are globals when processing `.vue` files. ([#2771](https://togithub.com/biomejs/biome/pull/2771)) Contributed by [@dyc3](https://togithub.com/dyc3) ##### CLI ##### New features - New `clean` command. Use this new command to clean after the `biome-logs` directory, and remove all the log files. ```shell biome clean ``` - Add two new options `--only` and `--skip` to the command `biome lint` ([#58](https://togithub.com/biomejs/biome/issues/58)). The `--only` option allows you to run a given rule or rule group, For example, the following command runs only the `style/useNamingConvention` and `style/noInferrableTypes` rules. If the rule is disabled in the configuration, then its severity level is set to `error` for a recommended rule or `warn` otherwise. ```shell biome lint --only=style/useNamingConvention --only=style/noInferrableTypes ``` Passing a group does not change the severity level of the rules in the group. All the disabled rules in the group will remain disabled. To ensure that the group is run, the `recommended` field of the group is enabled. The `nursery` group cannot be passed, as no rules are enabled by default in the nursery group. The `--skip` option allows you to skip the execution of a given group or a given rule. For example, the following command skips the `style` group and the `suspicious/noExplicitAny` rule. ```shell biome lint --skip=style --skip=suspicious/noExplicitAny ``` You can also use `--only` and `--skip` together. `--skip` oevrrides `--only`. The following command executes only the rules from the `style` group, but the `style/useNamingConvention` rule. ```shell biome lint --only=style --skip=style/useNamingConvention ``` These options are compatible with other options such as `--write` (previously `--apply`), and `--reporter`. Contributed by [@Conaclos](https://togithub.com/Conaclos) - Add new command `biome clean`. Use this command to purge all the logs emitted by the Biome daemon. This command is really useful, because the Biome daemon tends log many files and contents during its lifecycle. This means that if your editor is open for hours (or even days), the `biome-logs` folder could become quite heavy. Contributed by [@ematipico](https://togithub.com/ematipico) - Add support for formatting and linting CSS files from the CLI. These operations are **opt-in** for the time being. If you don't have a configuration file, you can enable these features with `--css-formatter-enabled` and `--css-linter-enabled`: ```shell biome check --css-formatter-enabled=true --css-linter-enabled=true ./ ``` Contributed by [@ematipico](https://togithub.com/ematipico) - Add new CLI options to control the CSS formatting. Check the [CLI reference page](https://biomejs.dev/reference/cli/) for more details. Contributed by [@ematipico](https://togithub.com/ematipico) - Add new options `--write`, `--fix` (alias of `--write`) and `--unsafe` to the command `biome lint` and `biome check`. Add a new option `--fix` (alias of `--write`) to the command `biome format` and `biome migrate`. ```shell biomeConfiguration
📅 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.