Skip to content

eslint-plugin-jsonc rules in Sudsy

JSON / JSONCversion 3.4.2 (npm latest)100% of its findings also reported35 covered7 partial0 planned0 deferred

Every rule and setting of eslint-plugin-jsonc in the parity catalog, with the Sudsy equivalent. The lint share is the part of eslint-plugin-jsonc’s default set (in scope) whose findings Sudsy also reports on real-world code, with the preset that mirrors it. 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
jsonc/auto - not planned mirrors ESLint core rules
jsonc/key-name-casing key-name-casing covered
jsonc/no-bigint-literals syntax-error covered
jsonc/no-binary-expression syntax-error covered
jsonc/no-binary-numeric-literals syntax-error covered
jsonc/no-comments syntax-error covered
jsonc/no-escape-sequence-in-identifier syntax-error covered
jsonc/no-hexadecimal-numeric-literals syntax-error covered
jsonc/no-infinity syntax-error covered
jsonc/no-nan syntax-error covered
jsonc/no-number-props syntax-error covered
jsonc/no-numeric-separators syntax-error covered
jsonc/no-octal-numeric-literals syntax-error covered
jsonc/no-parenthesized syntax-error covered
jsonc/no-plus-sign syntax-error covered
jsonc/no-regexp-literals syntax-error covered
jsonc/no-template-literals syntax-error covered
jsonc/no-undefined-value syntax-error covered
jsonc/no-unicode-codepoint-escapes syntax-error covered
jsonc/sort-array-values sorted-array-values partial one ordering per rule configuration (ESLint takes a list of {pathPattern, order} entries with different orders per path; use overrides per file instead); no key (sort objects by a property), no explicit value lists or valuePattern, mixed or non-scalar arrays are skipped, report positions when several equally short moves exist
jsonc/sort-keys sorted-keys partial one ordering per rule configuration (ESLint’s list of entries with different orders per path: use overrides per file); no per-key keyPattern orders and no ignore order type (ignored_keys is the closest); report positions when several equally short moves exist
jsonc/valid-json-number syntax-error covered
jsonc/vue-custom-block/no-parsing-error - not planned Vue SFC custom blocks
jsonc/array-bracket-newline option json.format.collapse partial no minItems/multiline threshold: collapse follows source line breaks and fit, not element count
jsonc/array-bracket-spacing option json.format.array_bracket_spacing covered
jsonc/array-element-newline option json.format.collapse partial no minItems threshold (elements go one per line only when the array breaks)
jsonc/comma-dangle option json.format.trailing_commas covered
jsonc/comma-style formatter covered
jsonc/indent option json.format.indent_size covered
jsonc/key-spacing formatter covered
jsonc/no-dupe-keys no-duplicate-keys covered
jsonc/no-floating-decimal syntax-error covered
jsonc/no-irregular-whitespace syntax-error covered
jsonc/no-multi-str syntax-error covered
jsonc/no-octal-escape syntax-error covered
jsonc/no-octal syntax-error covered
jsonc/no-sparse-arrays syntax-error covered
jsonc/no-useless-escape no-useless-escape partial \/ counts as useless, as the plugin reports it
jsonc/object-curly-newline option json.format.collapse partial no minProperties/multiline threshold: collapse follows source line breaks and fit, not property count
jsonc/object-curly-spacing option json.format.bracket_spacing covered
jsonc/object-property-newline option json.format.collapse partial no exact equivalent for the ‘forbid same-line properties’ mode (that is collapse: never)
jsonc/quote-props syntax-error covered
jsonc/quotes syntax-error covered
jsonc/space-unary-ops syntax-error covered