Add --graphql-linter-enabled option, to control whether the linter should be enabled or not for GraphQL files. Contributed by @ematipico
New EXPERIMENTAL search command. The search command allows you to search a Biome project using GritQL syntax.
GritQL is a powerful language that lets you do structural searches on your codebase. This means that trivia such as whitespace or even the type of strings quotes used will be ignored in your search query. It also has many features for querying the structure of your code, making it much more elegant for searching code than regular expressions.
While we believe this command may already be useful to users in some situations (especially when integrated in the IDE extensions!), we also had an ulterior motive for adding this command: We intend to utilize GritQL for our plugin efforts, and by allowing our users to try it out in a first iteration, we hope to gain insight in the type of queries you want to do, as well as the bugs we need to focus on.
For now, the search command is explicitly marked as EXPERIMENTAL, since many bugs remain. Keep this in mind when you try it out, and please let us know your issues!
Note: GritQL escapes code snippets using backticks, but most shells interpret backticks as command invocations. To avoid this, it's best to put single quotes around your Grit queries.
biome search '`console.log($message)`' # find all `console.log` invocations
Add --graphql-linter-enabled option, to control whether the linter should be enabled or not for GraphQL files. Contributed by @ematipico
New EXPERIMENTAL search command. The search command allows you to search a Biome project using GritQL syntax.
GritQL is a powerful language that lets you do structural searches on your codebase. This means that trivia such as whitespace or even the type of strings quotes used will be ignored in your search query. It also has many features for querying the structure of your code, making it much more elegant for searching code than regular expressions.
While we believe this command may already be useful to users in some situations (especially when integrated in the IDE extensions!), we also had an ulterior motive for adding this command: We intend to utilize GritQL for our plugin efforts, and by allowing our users to try it out in a first iteration, we hope to gain insight in the type of queries you want to do, as well as the bugs we need to focus on.
For now, the search command is explicitly marked as EXPERIMENTAL, since many bugs remain. Keep this in mind when you try it out, and please let us know your issues!
Note: GritQL escapes code snippets using backticks, but most shells interpret backticks as command invocations. To avoid this, it's best to put single quotes around your Grit queries.
biome search '`console.log($message)`' # find all `console.log` invocations
This changes how the custom glob pattern in the workspace config is treated. Any file matching the glob is considered a Vitest config file. Any folder matching the glob pattern is treated as a workspace project and is subject to the regular config resolution (single vitest.config.ts or vite.config.ts inside the folder)
For example, projects/* will match anything inside the projects folder. If it's a folder, we try to find the config inside that folder (if there is none, it is still treated as a project with the default config). If it's a file, it will be treated as a Vitest config. projects/**/* previously would assume that you only wanted to have folders as projects, but now it will match every single file insideprojects.
This changes how the custom glob pattern in the workspace config is treated. Any file matching the glob is considered a Vitest config file. Any folder matching the glob pattern is treated as a workspace project and is subject to the regular config resolution (single vitest.config.ts or vite.config.ts inside the folder)
For example, projects/* will match anything inside the projects folder. If it's a folder, we try to find the config inside that folder (if there is none, it is still treated as a project with the default config). If it's a file, it will be treated as a Vitest config. projects/**/* previously would assume that you only wanted to have folders as projects, but now it will match every single file insideprojects.
This changes how the custom glob pattern in the workspace config is treated. Any file matching the glob is considered a Vitest config file. Any folder matching the glob pattern is treated as a workspace project and is subject to the regular config resolution (single vitest.config.ts or vite.config.ts inside the folder)
For example, projects/* will match anything inside the projects folder. If it's a folder, we try to find the config inside that folder (if there is none, it is still treated as a project with the default config). If it's a file, it will be treated as a Vitest config. projects/**/* previously would assume that you only wanted to have folders as projects, but now it will match every single file insideprojects.
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 major version` will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)
- `@dependabot ignore minor version` will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)
- `@dependabot ignore ` will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)
- `@dependabot unignore ` will remove all of the ignore conditions of the specified dependency
- `@dependabot unignore ` will remove the ignore condition of the specified dependency and ignore conditions
Bumps the development-dependencies group with 5 updates:
1.8.3
1.9.0
0.9.2
0.9.3
2.0.5
2.1.0
2.0.5
2.1.0
2.0.5
2.1.0
Updates
@biomejs/biome
from 1.8.3 to 1.9.0Release notes
Sourced from
@biomejs/biome
's releases.... (truncated)
Changelog
Sourced from
@biomejs/biome
's changelog.... (truncated)
Commits
b260d5b
feat(package.json): set version to 1.9b7c67fc
revert(package.json): version894c3c5
release: v1.9.0 (#3794)d658225
feat(linter): make noRestrictedTypes common options simpler (#3819)37cf1e0
feat(linter): implement noCommonJs (#3821)a66e450
feat(linter): implement noSecrets (#3823)26e722c
chore(deps): update@biomejs
packages (#3830)8179da2
feat(biome_css_analyzer):noDuplicateCustomProperties
(#2783)e50a3a4
chore(linter): rename some css linter rules (#3818)5f4a8c5
chore(linter): renameuseConsistentGridAreas
tonoInvalidGridAreas
(#3809)Updates
@effect/vitest
from 0.9.2 to 0.9.3Release notes
Sourced from
@effect/vitest
's releases.Changelog
Sourced from
@effect/vitest
's changelog.Commits
4a848b0
Version Packages (#3585)95bf1ee
enable eslint no-console rule (#3586)b63ce8f
chore: migrate eslint to flat config (#3528)Updates
@vitest/coverage-v8
from 2.0.5 to 2.1.0Release notes
Sourced from
@vitest/coverage-v8
's releases.... (truncated)
Commits
9f1fd18
chore: release v2.1.0b2be23e
chore: release v2.1.0-beta.78ac7011
chore: release v2.1.0-beta.6da52d23
fix(coverage): use project specificvitenode
for uncovered files (#6044)5932a7f
feat(coverage): add--exclude-after-remap
(#6309)34199bd
feat(browser): support v8 coverage (#6273)72056b5
chore: release v2.1.0-beta.591dea8c
fix(coverage): v8 to warn instead of crash when conversion fails (#6318)1f6cb59
fix(coverage): v8 to support source maps with multiple sources (#6120)e662c7b
fix(coverage): warn ifvitest
and@vitest/*
versions don't match (#6317)Updates
@vitest/ui
from 2.0.5 to 2.1.0Release notes
Sourced from
@vitest/ui
's releases.... (truncated)
Commits
9f1fd18
chore: release v2.1.094a186e
fix(ui): render project name consistently (#6329)b2be23e
chore: release v2.1.0-beta.70223bb7
fix(ui): remove "filters" flickering (#6463)97773e2
chore: fix edge case in license files bundling (#6460)b78fa88
chore(deps): update dependency@faker-js/faker
to v9 (#6461)c321a3f
chore: replace fast-glob with tinyglobby (#6274)b992b34
fix: print unexpected error message if peer dependencies have a different ver...c853126
fix(browser): correctly run in-source tests in the browser (#6440)84a066a
chore(deps): update dependency@antfu/eslint-config
to v3 (#6435)Updates
vitest
from 2.0.5 to 2.1.0Release notes
Sourced from vitest's releases.
... (truncated)
Commits
9f1fd18
chore: release v2.1.094a186e
fix(ui): render project name consistently (#6329)ac698b1
fix:expect.getState().testPath
always returns correct path (#6472)b2be23e
chore: release v2.1.0-beta.70b44722
fix: ignore importer when resolving Vitest (#6469)97773e2
chore: fix edge case in license files bundling (#6460)7ab0f4a
feat(browser): support--inspect-brk
(#6434)8d883cf
fix(browser): exclude missed packages from optimization, print help message (...c321a3f
chore: replace fast-glob with tinyglobby (#6274)0282564
chore(deps): replaceexeca
withtinyexec
(#6454)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