Fix #604 which made noConfusingVoidType report false positives when the void type is used in a generic type parameter. Contributed by @unvalley
CLI
Bug fixes
Fix how overrides behave. Now ignore and include apply or not the override pattern, so they override each other.
Now the options inside overrides override the top-level options.
Bootstrap the logger only when needed. Contributed by @ematipico
Editors
Bug fixes
Fix #592, by changing binary resolution in the IntelliJ plugin. Contributed by @Joshuabaker2
Formatter
Bug fixes
Apply the correct layout when the right hand of an assignment expression is a await expression or a yield expression. Contributed by @ematipico
Fix #303, where nested arrow functions didn't break. Contributed by @victor-teles
Linter
Bug fixes
Fix #175 which made noRedeclare report index signatures using the name of a variable in the parent scope.
The noSuperWithoutExtends rule now allows for calling super() in derived class constructors of class expressions (#2108). Contributed by @Sec-ant
Fix discrepancies on file source detection. Allow module syntax in .cts files (#2114). Contributed by @Sec-ant
CLI
Bug fixes
Fixes #2131, where folders were incorrectly ignored when running the command check. Now folders are correctly ignored based on their command. Contributed by @ematipico
Smoother handling of "endOfLine": "auto" in prettier migration: falling back to "lf" (#2145). Contributed by @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) (#2028). Contributed by @Sec-ant
Formatter
Bug fixes
Fix #1661. Now nested conditionals are aligned with Prettier's logic, and won't contain mixed spaces and tabs. Contributed by @ematipico
JavaScript APIs
Enhancements
Support applying lint fixes when calling the lintContent method of the Biome class (#1956). Contributed by @mnahkies
Linter
Bug fixes
Rule noUndeclaredDependencies now also validates peerDependencies and optionalDependencies (#2122). Contributed by @Sec-ant
Fix #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
Rule noUndeclaredVariables now also checks for worker globals (#2121). Contributed by @Sec-ant
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot will merge this PR once CI passes on it, as requested by @arthurfiorette.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Bumps @biomejs/biome from 1.5.3 to 1.6.2.
Release notes
Sourced from
@biomejs/biome
's releases.... (truncated)
Changelog
Sourced from
@biomejs/biome
's changelog.... (truncated)
Commits
7669b33
release: 1.6.2 (#2152)958a9a1
docs(lint/style/useFilenamingConvention): fix example options (#2144)98d53ae
feat(biome_css_analyzer): initilize css linter infra (#2111)745afc8
chore: run biome on more than a few directories (#2099)fdc592b
chore: fix@biomejs/biome
inconsistency inpackage.json
(#2094)4568c5a
feat(biome_js_analyze): noDuplicateElesIf (#2040)4ed1cbe
release: 1.6.1 (#2046)e2f67c2
feat(lint/noDoneCallback): add rule (#1938)75eed2e
fix(overrides
):json.formatter.trailingCommas
should work (#2025)560628b
chore: trigger CI (#2001)Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot will merge this PR once CI passes on it, as requested by @arthurfiorette.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show