Bump @biomejs/biome from 1.8.3 to 1.9.2
Bumps @biomejs/biome from 1.8.3 to 1.9.2.
Release notes
Sourced from @biomejs/biome's releases.
CLI v1.9.2
CLI
New features
Added support for custom GritQL definitions, including:
- Pattern and predicate definitions: https://docs.grit.io/guides/patterns
- Function definitions: https://docs.grit.io/language/functions#function-definitions
Contributed by
@arendjrBug fixes
- Fix #3917, where the fixed files were incorrectly computed. Contributed by
@ematipico- Fixed an issue that caused GritQL
containsqueries to report false positives when the matched node appeared inside a sibling node. Contributed by@arendjrEditors
Bug fixes
Fix #3923. Now the
.editorconfigis correctly parsed by the LSP, and the options are correctly applied to files when formatting is triggered. Plus, the Biome LSP now watches for any change to the.editorconfig, and updates the formatting settings.Reduced the number of log files generated by the LSP server. Now the maximum number of logs saved on disk is seven. Contributed by
@ematipicoFix the code actions capabilities available in the LSP Biome server. Before, the LSP was using the default capabilities, which resulted in pulling code actions even when they were disabled by the editor.
This means that the code actions are pulled by the client only when the editor enables
quickfix.biome,source.organizeImports.biomeandsource.fixAll.biome.Now, if you enable
organizeImports.enabled: truein thebiome.json, and then you configure your editor with the following code actionsource.organizeImports.biome: false, the editor won't sort the imports.Contributed by
@ematipicoLinter
New features
- Add nursery/noMissingVarFunction. Contributed by
@michellocana- Add nursery/useComponentExportOnlyModules. Use this rule in React projects to enforce a code styling that fits React Refresh. Contributed by
@GunseiKPaseriBug fixes
noLabelWithoutControl now accept JSX expression as label value (#3875). Contributed by
@ConaclosuseFilenamingConvention no longer suggests names with a disallowed case (#3952). Contributed by
@ConaclosuseFilenamingConvention now recognizes file names starting with ASCII digits as lowercase (#3952).
Thus,
2024-09-17-filename,2024_09_17_filenameand20240917FileNameare inkebab-case,snake_case, andcamelCaserespectively.Contributed by
@Conaclos
... (truncated)
Changelog
Sourced from @biomejs/biome's changelog.
v1.9.2 (2024-09-19)
CLI
New features
Added support for custom GritQL definitions, including:
- Pattern and predicate definitions: https://docs.grit.io/guides/patterns
- Function definitions: https://docs.grit.io/language/functions#function-definitions
Contributed by
@arendjrBug fixes
- Fix #3917, where the fixed files were incorrectly computed. Contributed by
@ematipico- Fixed an issue that caused GritQL
containsqueries to report false positives when the matched node appeared inside a sibling node. Contributed by@arendjrEditors
Bug fixes
Fix #3923. Now the
.editorconfigis correctly parsed by the LSP, and the options are correctly applied to files when formatting is triggered. Plus, the Biome LSP now watches for any change to the.editorconfig, and updates the formatting settings.Reduced the number of log files generated by the LSP server. Now the maximum number of logs saved on disk is seven. Contributed by
@ematipicoFix the code actions capabilities available in the LSP Biome server. Before, the LSP was using the default capabilities, which resulted in pulling code actions even when they were disabled by the editor.
This means that the code actions are pulled by the client only when the editor enables
quickfix.biome,source.organizeImports.biomeandsource.fixAll.biome.Now, if you enable
organizeImports.enabled: truein thebiome.json, and then you configure your editor with the following code actionsource.organizeImports.biome: false, the editor won't sort the imports.Contributed by
@ematipicoLinter
New features
- Add nursery/noMissingVarFunction. Contributed by
@michellocana- Add [nursery/useComponentExportOnlyModules]((https://biomejs.dev/linter/rules/use-component-export-only-modules). Use this rule in React projects to enforce a code styling that fits React Refresh. Contributed by
@GunseiKPaseriBug fixes
noLabelWithoutControl now accept JSX expression as label value (#3875). Contributed by
@ConaclosuseFilenamingConvention no longer suggests names with a disallowed case (#3952). Contributed by
@ConaclosuseFilenamingConvention now recognizes file names starting with ASCII digits as lowercase (#3952).
Thus,
2024-09-17-filename,2024_09_17_filenameand20240917FileNameare inkebab-case,snake_case, andcamelCaserespectively.
... (truncated)
Commits
5f2287erelease: v1.9.2 (#3974)00760d4feat(lint): add ruleuseComponentExportOnlyModules(#3576)e1851e2feat(linter): add noMissingVarFunction (#3779)0004980docs(readme): add zh-tw readme translation (#3894)9bf1e4crelease: v1.9.1 (#3900)eebf20fchore: remove sponsor (#3896)f6d61b0feat(lint): add noProcessEnv (#3825)49a6616refactor(package.json): add more keywords (#3876)cccaea3docs(readme): add CSS and GraphQL (#3869)b260d5bfeat(package.json): set version to 1.9- Additional commits viewable in compare view
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 commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot mergewill merge this PR after your CI passes on it@dependabot squash and mergewill squash and merge this PR after your CI passes on it@dependabot cancel mergewill cancel a previously requested merge and block automerging@dependabot reopenwill reopen this PR if it is closed@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill 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 versionwill 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 dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)