noQuickfixBiome (JSON)
Language JSON (and super languages)
Summary
Section titled “Summary”- Rule available since:
v2.1.3 - Diagnostic Category:
lint/suspicious/noQuickfixBiome - This rule is recommended, meaning it is enabled by default.
- This rule has a safe fix.
- The default severity of this rule is information.
How to configure
Section titled “How to configure”{ "linter": { "rules": { "suspicious": { "noQuickfixBiome": "error" } } }}Description
Section titled “Description”Disallow quickfix.biome in supported editor settings.
quickfix.biome asks the editor to apply independent Biome fixes together. When fixes edit
the same source text, their changes can overlap and produce invalid code. Use
source.fixAll.biome instead.
The rule checks Visual Studio Code and Zed settings files whose paths end with:
.vscode/settings.jsonCode/User/settings.json.zed/settings.jsonzed/settings.json
Examples
Section titled “Examples”Invalid
Section titled “Invalid”{ "quickfix.biome": "explicit"}{ "source.fixAll.biome": "explicit"}Options
Section titled “Options”additionalPaths
Section titled “additionalPaths”Adds settings-file path suffixes for other editors. For example, adding
".myEditor/file.json" checks every file whose path ends with that value. Defaults to an
empty list.
{ "linter": { "rules": { "suspicious": { "noQuickfixBiome": { "level": "on", "options": { "additionalPaths": [ ".myEditor/file.json" ] } } } } }}Related links
Section titled “Related links”Copyright (c) 2023-present Biome Developers and Contributors.