Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🧩 Analysis chain
🏁 Script executed:
Repository: lokalise/node-core
Length of output: 738
🌐 Web query:
breaking changes@biomejs/biome2.0 from 1.9💡 Result:
Key breaking changes when upgrading @biomejs/biome 1.9 → 2.0:
Config file paths/globs semantics changed
files.include/files.ignore(and similarinclude/ignoreusage) are removed and replaced by a singleincludesarray with different glob semantics (notably*vs**/*, and negation via!). [1][2]Rome-legacy features removed
rome.json,rome-ignorecomments,ROME_BINARY, and legacy suppression formats. [1][2]LSP/daemon CLI change
--config-pathwas removed frombiome lsp-proxyandbiome start(plugins/editors must use workspace configuration instead). [1][2]Linter behavior/severity changes
linter.rules.allandlinter.rules.<group>.allwere removed. [1][2]Rule/config option breaking changes
noRestrictedGlobals:deniedGlobalschanged from array → record/map (supports per-global custom messages). [1]noUnusedVariablesno longer reports unused function parameters (usenoUnusedFunctionParameters). [1]noConsoleLog,noInvalidNewBuiltin, etc.). [1]useNamingConvention: removedenumMemberCaseoption (useconventions). [1]Formatter / CLI option breaking changes
.jsonformatter no longer adds trailing commas even ifjson.formatter.trailingCommas=true. [1]--trailing-commasno longer acceptsES5/All/None, etc.). [1]indentSizeoption (and related CLI flags) removed; useindentWidth. [1]trailingCommaoption removed; usetrailingCommas. [1]biome check --apply/--apply-unsaferemoved; use--write/--write --unsafe. [1]JS syntax support
assert { ... }are no longer supported; usewith { ... }. [1][2]Practical tip: run
biome migrate --writeafter upgrading; it auto-updates many config-breaking changes (e.g.,includes,deniedGlobals, removed/deprecated options/rules). [1][2]Sources: Biome v2.0.0 changelog/version history [1], “Upgrade to Biome v2” guide [2].
Verify biome.json compatibility with v2.x configuration changes and run migration.
This major version upgrade (1.x → 2.x) includes breaking changes to configuration syntax. The CLI commands used (
biome checkandbiome check --write) are compatible, but thebiome.jsonconfiguration file requires updates:files.include/files.ignorereplaced withincludesarray syntaxSince
@lokalise/biome-configis already at v2.0.0, compatibility is maintained. After upgrading, runbiome migrate --writeto automatically update config-breaking changes.🤖 Prompt for AI Agents