Biome now scores 97% compatibility with Prettier and features more than 190 linter rules.
CLI
New features
Biome now shows a diagnostic when it encounters a protected file. Contributed by @ematipico
The command biome migrate now updates the $schema if there's an outdated version.
The CLI now takes in consideration the .gitignore in the home directory of the user, if it exists. Contributed by @ematipico
The biome ci command is now able to print GitHub Workflow Commands when there are diagnostics in our code. Contributed by @nikeee
This might require setting the proper permissions on your GitHub action:
permissions:
pull-requests: write
The commands format, lint, check and ci now accept two new arguments: --changed and --since. Use these options with the VCS integration
is enabled to process only the files that were changed. Contributed by @simonxabris
biome format --write --changed
Introduced a new command called biome explain, which has the capability to display documentation for lint rules. Contributed by @kalleep
You can use the command biome explain to print the documentation of lint rules. Contributed by @kalleep
biome explain noDebugger
biome explain useAltText
You can use the command biome explain to print the directory where daemon logs are stored. Contributed by @ematipico
biome explain daemon-logs
Removed the hard coded limit of 200 printable diagnostics. Contributed by @ematipico
Bug fixes
Fix #1247, Biome now prints a warning diagnostic if it encounters files that can't handle. Contributed by @ematipico
You can ignore unknown file types using the files.ignoreUnknown configuration in biome.json:
Biome now scores 97% compatibility with Prettier and features more than 180 linter rules.
Analyzer
CLI
New features
Biome now shows a diagnostic when it encounters a protected file. Contributed by @ematipico
The command biome migrate now updates the $schema if there's an outdated version.
The CLI now takes in consideration the .gitignore in the home directory of the user, if it exists. Contributed by @ematipico
The biome ci command is now able to print GitHub Workflow Commands when there are diagnostics in our code. Contributed by @nikeee
This might require setting the proper permissions on your GitHub action:
permissions:
pull-requests: write
The commands format, lint, check and ci now accept two new arguments: --changed and --since. Use these options with the VCS integration
is enabled to process only the files that were changed. Contributed by @simonxabris
biome format --write --changed
Introduced a new command called biome explain, which has the capability to display documentation for lint rules. Contributed by @kalleep
You can use the command biome explain to print the documentation of lint rules. Contributed by @kalleep
biome explain noDebugger
biome explain useAltText
You can use the command biome explain to print the directory where daemon logs are stored. Contributed by @ematipico
biome explain daemon-logs
Removed the hard coded limit of 200 printable diagnostics. Contributed by @ematipico
Bug fixes
Fix #1247, Biome now prints a warning diagnostic if it encounters files that can't handle. Contributed by @ematipico
You can ignore unknown file types using the files.ignoreUnknown configuration in biome.json:
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 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.4.1 to 1.5.0.
Release notes
Sourced from
@biomejs/biome
's releases.... (truncated)
Changelog
Sourced from
@biomejs/biome
's changelog.... (truncated)
Commits
c1fdabc
release: 1.5.0 (#1231)a42f202
feat(lint/noGlobalAssign): add rule (#1377)6f2a887
feat(lint/useImportType): add rule (#1204)dcf34c4
docs(README): update rule count (#1434)b88f8b7
feat(lint/noGlobalEval): add rule (#1133)ff8862b
fix(lint/useHookAtTopLevel): fix false positives, don't require hook config (...9b07bc8
feat(lint/useFilenamingConvention): allow PascalCase in config (#1414)cc7c00e
feat(style/useConsistentArrayType): add rule (#1137)79df704
refactor(lint/useNumberNamespace): improve rule (#1399)9c0243f
refactor(useNodejsImportProtocol,noNodejsModules): improve rules (#1397)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 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