mongolyy / reviewdog-action-biome

MIT License
28 stars 4 forks source link

Update dependency @biomejs/biome to v1.5.2 #14

Closed renovate[bot] closed 8 months ago

renovate[bot] commented 8 months ago

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
@biomejs/biome (source) 1.5.1 -> 1.5.2 age adoption passing confidence

Release Notes

biomejs/biome (@​biomejs/biome) ### [`v1.5.2`](https://togithub.com/biomejs/biome/blob/HEAD/CHANGELOG.md#152-2024-01-15) [Compare Source](https://togithub.com/biomejs/biome/compare/0ed9e3ef0a1ac0bcf3ba7f0030999dbc3e34a619...80bb3d7d978ca2eb376190ac7cfdcd45902a6b75) ##### CLI ##### Bug fixes - Fix [#​1512](https://togithub.com/biomejs/biome/issues/1512) by skipping verbose diagnostics from the count. Contributed by [@​ematipico](https://togithub.com/ematipico) - Correctly handle cascading `include` and `ignore`. Previously Biome incorrectly included files that were included at tool level and ignored at global level. In the following example, ` file.js' was formatted when it should have been ignored. Now, Biome correctly ignores the directory `./src/sub/\`. ```shell ❯ tree src src └── sub └── file.js ❯ cat biome.json { "files": { "ignore": ["./src/sub/"] }, "formatter": { "include": ["./src"] } } ``` Contributed by [@​Conaclos](https://togithub.com/Conaclos) - Don't emit verbose warnings when a protected file is ignored. Some files, such as `package.json` and `tsconfig.json`, are [protected](https://biomejs.dev/guides/how-biome-works/#protected-files). Biome emits a verbose warning when it encounters a protected file. Previously, Biome emitted this verbose warning even if the file was ignored by the configuration. Now, it doesn't emit verbose warnings for protected files that are ignored. Contributed by [@​Conaclos](https://togithub.com/Conaclos) - `overrides` no longer affect which files are ignored. Contributed by [@​Conaclos](https://togithub.com/Conaclos) - The file `biome.json` can't be ignored anymore. Contributed by [@​ematipico](https://togithub.com/ematipico) - Fix [#​1541](https://togithub.com/biomejs/biome/issues/1541) where the content of protected files wasn't returned to `stdout`. Contributed by [@​ematipico](https://togithub.com/ematipico) - Don't handle CSS files, the formatter isn't ready yet. Contributed by [@​ematipico](https://togithub.com/ematipico) ##### Configuration ##### Bug fixes - Fix [1440](https://togithub.com/biomejs/biome/issues/1440), a case where `extends` and `overrides` weren't correctly emitting the final configuration. Contributed by [@​arendjr](https://togithub.com/arendjr) - Correctly handle `include` when `ignore` is set ([#​1468](https://togithub.com/biomejs/biome/issues/1468)). Contributed by [@​Conaclos](https://togithub.com/Conaclos) Previously, Biome ignored `include` if `ignore` was set. Now, Biome check both `include` and `ignore`. A file is processed if it is included and not ignored. If `include` is not set all files are considered included. ##### Formatter ##### Bug fixes - Fix placement of comments before `*` token in generator methods with decorators. [#​1537](https://togithub.com/biomejs/biome/pull/1537) Contributed by [@​ah-yu](https://togithub.com/ah-yu) - Fix [#​1406](https://togithub.com/biomejs/biome/issues/1406). Ensure comments before the `async` keyword are placed before it. Contributed by [@​ah-yu](https://togithub.com/ah-yu) - Fix [#​1172](https://togithub.com/biomejs/biome/issues/1172). Fix placement of line comment after function expression parentheses, they are now attached to first statement in body. Contributed by [@​kalleep](https://togithub.com/kalleep) - Fix [#​1511](https://togithub.com/biomejs/biome/issues/1511) that made the JavaScript formatter crash. Contributed [@​Conaclos](https://togithub.com/Conaclos) ##### Linter ##### Enhancements - Add an unsafe code fix for [noConsoleLog](https://biomejs.dev/linter/rules/no-console-log/). Contributed by [@​vasucp1207](https://togithub.com/vasucp1207) - [useArrowFunction](https://biomejs.dev/linter/rules/use-arrow-function) no longer reports function in `extends` clauses or in a `new` expression. Contributed by [@​Conaclos](https://togithub.com/Conaclos) This cases requires the presence of a prototype. ##### Bug fixes - The fix of [useArrowFunction](https://biomejs.dev/linter/rules/use-arrow-function) now adds parentheses around the arrow function in more cases where it is needed ([#​1524](https://togithub.com/biomejs/biome/issues/1524)). A function expression doesn't need parentheses in most expressions where it can appear. This is not the case with the arrow function. We previously added parentheses when the function appears in a call or member expression. We now add parentheses in binary-like expressions and other cases where they are needed, hopefully covering all cases. Previously: ```diff - f = f ?? function() {}; + f = f ?? () => {}; ``` Now: ```diff - f = f ?? function() {}; + f = f ?? (() => {}); ``` Contributed by [@​Conaclos](https://togithub.com/Conaclos) - Fix [#​1514](https://togithub.com/biomejs/biome/issues/1514). Fix autofix suggestion to avoid the syntax error in `no_useless_fragments`. Contributed by [@​togami2864](https://togithub.com/togami2864)

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.

github-actions[bot] commented 8 months ago

🏷️ [bumpr] Next version:v0.9.3 Changes:v0.9.2...mongolyy:renovate/biomejs-biome-1.x-lockfile

github-actions[bot] commented 8 months ago

🚀 [bumpr] Bumped! New version:v0.9.3 Changes:v0.9.2...v0.9.3