Skip to content

taplo rules in Sudsy

TOMLversion 0.10.0 (GitHub release latest; the version `scripts/parity.sh format taplo` downloads)98% of TOML files identical11 covered7 partial0 planned5 deferred

Every rule and setting of taplo 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 taplo. 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
align_entries - deferred No align_entries option.
align_comments option toml.format.align_comments partial Comments after array items and after table headers are not aligned.
array_trailing_comma option toml.format.trailing_commas covered
array_auto_expand option toml.format.collapse covered
array_auto_collapse option toml.format.collapse covered
compact_arrays option toml.format.array_bracket_spacing covered
compact_inline_tables option toml.format.bracket_spacing covered
inline_table_expand formatter partial Taplo also expands an array inside an inline table that would fit after a line break elsewhere in the table (see tests/parity/taplo/differences.yaml).
compact_entries - deferred No option for key=value.
column_width option toml.format.line_width covered
indent_tables - deferred No option to indent sub-tables.
indent_entries - deferred No option to indent entries.
indent_string option toml.format.indent_style partial Taplo accepts any string; Sudsy only tabs or 1..16 spaces.
trailing_newline option toml.format.final_newline covered
reorder_keys sorted-keys partial Taplo sorts only keys not separated by blank lines; the rule sorts the whole table.
reorder_arrays sorted-array-values partial Taplo sorts only values not separated by blank lines; the rule sorts the whole array.
reorder_inline_tables sorted-keys partial A lint rule, not a formatter option.
allowed_blank_lines option toml.format.max_blank_lines partial Blank lines between a comment line and the entry below it are reduced to one whatever the option says.
crlf option toml.format.end_of_line covered
lint.syntax syntax-error covered
include_exclude configuration: exclude globs covered
rule_overrides configuration: overrides covered
lint.schema - deferred No JSON Schema validation of TOML documents.