Skip to content

Biome rules in Sudsy

JSON / JSONCversion 2.6.4 (npm latest; configuration page schema URL)99% of JSON / JSONC files identical13 covered6 partial2 planned0 deferred

Every rule and setting of Biome in the parity catalog, with the Sudsy equivalent. The format share is the part of real-world files that Sudsy formats to the same text as Biome. Where the tool has a page for an entry, the id links to it.

Status: covered; partial (the note says what differs); not yet (planned); deferred; not planned; SDK (a .NET SDK diagnostic does it).

Id Sudsy Status Note
json.formatter.enabled configuration: overrides / exclude covered
json.formatter.indentStyle option json.format.indent_style covered
json.formatter.indentWidth option json.format.indent_size covered
json.formatter.lineWidth option json.format.line_width covered
json.formatter.lineEnding option json.format.end_of_line covered
json.formatter.trailingCommas option json.format.trailing_commas partial Biome all = Sudsy multiline (adds only to multi-line containers; JSONC only); the names differ and Biome applies it per file type (json vs jsonc)
json.formatter.bracketSpacing option json.format.bracket_spacing covered
json.formatter.delimiterSpacing option json.format.array_bracket_spacing covered
json.formatter.expand option json.format.collapse partial auto = ‘objects expanded if the first property has a leading newline’ ~ collapse: opening_break; whether Biome auto treats arrays the same is unverified; Sudsy default is preserve (any break between delimiters)
json.formatter.trailingNewline option json.format.final_newline covered
formatter.useEditorconfig configuration: .editorconfig covered
formatter.formatWithErrors - not planned files with syntax errors are never formatted
formatter.includes / files.includes / files.ignoreUnknown / files.maxSize configuration: include, exclude, ignore files covered
formatter.attributePosition / bracketSameLine - not planned not applicable to JSON
json.parser.allowComments option json.format.dialect partial dialect: jsonc switches comments AND trailing commas together; no separate toggles
json.parser.allowTrailingCommas option json.format.dialect partial see allowComments
json.linter.enabled / json.assist.enabled configuration: lint.rules (off) covered
suspicious/noDuplicateObjectKeys no-duplicate-keys covered
suspicious/noBiomeFirstException - not planned Biome config file rule
suspicious/noQuickfixBiome - not planned Biome config file rule
suspicious/useBiomeIgnoreFolder - not planned Biome config file rule
suspicious/noEmptyObjectKeys no-empty-keys covered
suspicious/noDuplicateDependencies - not planned package.json domain rule
suspicious/noUntrustedLicenses - not planned package.json domain rule
suspicious/useRequiredScripts - not planned package.json domain rule
style/noTopLevelLiterals - not yet Top-level string/number/boolean/null (RFC 4627 parsers). Verified Sudsy accepts "x" silently. Derived from ESLint json/top-level-interop.
nursery/noJsonUnsafeValues unsafe-numbers partial lone UTF-16 surrogates in strings are not reported
nursery/useConsistentObjectKeys - not yet Keys must use one Unicode normalization form (option form: NFC default, NFD, NFKC, NFKD); unsafe fix. Needs a normalization table (unicode-normalization crate).
nursery/noRestrictedDependencies - not planned package.json domain rule
nursery/useConsistentUnicodeBom - not planned BOM is preserved as-is
nursery/usePackageJsonValidCpu - not planned package.json domain rule
nursery/usePackageJsonValidEngines - not planned package.json domain rule
assist/source/useSortedKeys sorted-keys partial no groupByNesting; natural order is not guaranteed identical to Biome’s for non-ASCII keys (unverified)
assist/source/useSortedPackageJson - not planned package.json domain rule