# Sudsy > Fully featured polyglot formatter and linter for 20+ languages. Extremely configurable, plugin-extendable. One `sudsy.yaml`, one command (`sudsy check`, `sudsy fix`). It reproduces the output of tools such as Prettier, ESLint, ruff and hadolint, with a measured match rate per language. Every page has a Markdown copy at the same URL with `.md` added. For one rule, fetch `https://bingsubandit.github.io/sudsy/rules/.md`. ## Guide - [Getting started](https://bingsubandit.github.io/sudsy/getting-started.md): Install Sudsy, check a project without changing it, fix it, configure it, and run it in your editor and in CI. - [Command line](https://bingsubandit.github.io/sudsy/cli.md): The sudsy commands, exit codes and machine-readable output, for scripts and coding agents. - [Languages](https://bingsubandit.github.io/sudsy/languages.md): Every language Sudsy formats and lints, with its status against the reference tools. - [Compared tools](https://bingsubandit.github.io/sudsy/compare.md): The linters and formatters Sudsy is measured against, with the share of their output it reproduces. - [Presets](https://bingsubandit.github.io/sudsy/reference/presets.md): Built-in presets for `extends: [preset:/]`. - [Format options](https://bingsubandit.github.io/sudsy/reference/format-options.md): Every formatting option per language, with its type, default and allowed values. - [Rules](https://bingsubandit.github.io/sudsy/rules.md): Search and filter Sudsy lint rules by language, category, fix kind, preset and the upstream tool they match. ## Machine-readable - [rules.json](https://bingsubandit.github.io/sudsy/rules.json): every rule with languages, category, default level, fix kind, options, equivalent ids of other tools and an example - `sudsy check --format json`: diagnostics with rule, range and fix edits; documented in [Command line](https://bingsubandit.github.io/sudsy/cli.md) - `sudsy init --agents`: adds a block to `AGENTS.md` that tells an agent how to run `sudsy check` and `sudsy fix` ## Languages - [HTML](https://bingsubandit.github.io/sudsy/languages/html.md): Sudsy formats and lints HTML: ready, measured against Prettier, html-validate, html-eslint, htmlhint. - [JavaScript / TypeScript](https://bingsubandit.github.io/sudsy/languages/js.md): Sudsy formats and lints JavaScript / TypeScript: ready, measured against Prettier, ESLint, typescript-eslint. - [CSS / SCSS / Less](https://bingsubandit.github.io/sudsy/languages/css.md): Sudsy formats and lints CSS / SCSS / Less: ready, measured against Prettier, stylelint, stylelint-scss, stylelint-less. - [JSON / JSONC](https://bingsubandit.github.io/sudsy/languages/json.md): Sudsy formats and lints JSON / JSONC: ready, measured against Prettier, Biome, eslint-plugin-jsonc. - [Markdown](https://bingsubandit.github.io/sudsy/languages/markdown.md): Sudsy formats and lints Markdown: ready, measured against Prettier, markdownlint. - [Python](https://bingsubandit.github.io/sudsy/languages/python.md): Sudsy formats and lints Python: ready, measured against ruff format, ruff. - [YAML](https://bingsubandit.github.io/sudsy/languages/yaml.md): Sudsy formats and lints YAML: ready, measured against Prettier, yamllint. - [Shell](https://bingsubandit.github.io/sudsy/languages/shell.md): Sudsy formats and lints Shell: ready, measured against shfmt, ShellCheck. - [Dockerfile](https://bingsubandit.github.io/sudsy/languages/dockerfile.md): Sudsy formats and lints Dockerfile: ready, measured against hadolint. - [SQL](https://bingsubandit.github.io/sudsy/languages/sql.md): Sudsy formats and lints SQL: ready, measured against sqlfluff. - [Java](https://bingsubandit.github.io/sudsy/languages/java.md): Sudsy formats and lints Java: ready, measured against google-java-format, Checkstyle. - [GitHub Actions](https://bingsubandit.github.io/sudsy/languages/github-actions.md): Sudsy formats and lints GitHub Actions: ready, measured against actionlint. - [C#](https://bingsubandit.github.io/sudsy/languages/csharp.md): Sudsy formats and lints C#: ready, measured against CSharpier, StyleCop, Roslynator. - [PowerShell](https://bingsubandit.github.io/sudsy/languages/powershell.md): Sudsy formats and lints PowerShell: ready, measured against Invoke-Formatter, PSScriptAnalyzer. - [TOML](https://bingsubandit.github.io/sudsy/languages/toml.md): Sudsy formats and lints TOML: ready, measured against taplo. - [XML](https://bingsubandit.github.io/sudsy/languages/xml.md): Sudsy formats and lints XML: ready, measured against CSharpier XML. - [Go](https://bingsubandit.github.io/sudsy/languages/go.md): Sudsy formats and lints Go: lint only: ready, measured against revive. - [CMake](https://bingsubandit.github.io/sudsy/languages/cmake.md): Sudsy formats and lints CMake: ready, measured against gersemi, cmake-lint. - [Kotlin](https://bingsubandit.github.io/sudsy/languages/kotlin.md): Sudsy formats and lints Kotlin: ready, measured against ktlint. - [Vue / Svelte](https://bingsubandit.github.io/sudsy/languages/vue.md): Sudsy formats and lints Vue / Svelte: ready, measured against Prettier, eslint-plugin-vue, eslint-plugin-svelte. - [Terraform (HCL)](https://bingsubandit.github.io/sudsy/languages/hcl.md): Sudsy formats and lints Terraform (HCL): ready, measured against terraform fmt, tflint. - [Angular templates](https://bingsubandit.github.io/sudsy/languages/angular.md): Sudsy formats and lints Angular templates: ready, measured against Prettier, angular-eslint. - [INI / EditorConfig / .gitignore](https://bingsubandit.github.io/sudsy/languages/ini.md): Sudsy formats and lints INI / EditorConfig / .gitignore: ready. - [Ruby](https://bingsubandit.github.io/sudsy/languages/ruby.md): Sudsy formats and lints Ruby: ready, measured against RuboCop. - [GraphQL](https://bingsubandit.github.io/sudsy/languages/graphql.md): Sudsy formats and lints GraphQL: ready, measured against Prettier. - [Protobuf](https://bingsubandit.github.io/sudsy/languages/protobuf.md): Sudsy formats and lints Protobuf: ready, measured against buf format, buf. - [C / C++](https://bingsubandit.github.io/sudsy/languages/c.md): Sudsy formats and lints C / C++: in progress, measured against clang-format, clang-tidy. - [Makefile](https://bingsubandit.github.io/sudsy/languages/makefile.md): Sudsy formats and lints Makefile: in progress, measured against checkmake. - [PHP](https://bingsubandit.github.io/sudsy/languages/php.md): Sudsy formats and lints PHP: in progress, measured against PHP-CS-Fixer, PHPStan. ## Compared tools Each page lists every rule of the tool, the Sudsy rule that covers it and the share of its findings Sudsy also reports. - [actionlint rules in Sudsy](https://bingsubandit.github.io/sudsy/compare/actionlint.md): Every actionlint rule with the Sudsy rule that covers it and how much of actionlint's output Sudsy reproduces. - [angular-eslint rules in Sudsy](https://bingsubandit.github.io/sudsy/compare/angular-eslint.md): Every angular-eslint rule with the Sudsy rule that covers it and how much of angular-eslint's output Sudsy reproduces. - [Biome rules in Sudsy](https://bingsubandit.github.io/sudsy/compare/biome.md): Every Biome rule with the Sudsy rule that covers it and how much of Biome's output Sudsy reproduces. - [buf rules in Sudsy](https://bingsubandit.github.io/sudsy/compare/buf.md): Every buf rule with the Sudsy rule that covers it and how much of buf's output Sudsy reproduces. - [checkmake rules in Sudsy](https://bingsubandit.github.io/sudsy/compare/checkmake.md): Every checkmake rule with the Sudsy rule that covers it and how much of checkmake's output Sudsy reproduces. - [checkstyle rules in Sudsy](https://bingsubandit.github.io/sudsy/compare/checkstyle.md): Every checkstyle rule with the Sudsy rule that covers it and how much of checkstyle's output Sudsy reproduces. - [clang-format rules in Sudsy](https://bingsubandit.github.io/sudsy/compare/clang-format.md): Every clang-format rule with the Sudsy rule that covers it and how much of clang-format's output Sudsy reproduces. - [cmake-lint rules in Sudsy](https://bingsubandit.github.io/sudsy/compare/cmake-lint.md): Every cmake-lint rule with the Sudsy rule that covers it and how much of cmake-lint's output Sudsy reproduces. - [csharpier rules in Sudsy](https://bingsubandit.github.io/sudsy/compare/csharpier.md): Every csharpier rule with the Sudsy rule that covers it and how much of csharpier's output Sudsy reproduces. - [dotnet-format-editorconfig rules in Sudsy](https://bingsubandit.github.io/sudsy/compare/dotnet-format-editorconfig.md): Every dotnet-format-editorconfig rule with the Sudsy rule that covers it and how much of dotnet-format-editorconfig's output Sudsy reproduces. - [eslint rules in Sudsy](https://bingsubandit.github.io/sudsy/compare/eslint.md): Every eslint rule with the Sudsy rule that covers it and how much of eslint's output Sudsy reproduces. - [eslint-plugin-jsonc rules in Sudsy](https://bingsubandit.github.io/sudsy/compare/eslint-plugin-jsonc.md): Every eslint-plugin-jsonc rule with the Sudsy rule that covers it and how much of eslint-plugin-jsonc's output Sudsy reproduces. - [eslint-plugin-svelte rules in Sudsy](https://bingsubandit.github.io/sudsy/compare/eslint-plugin-svelte.md): Every eslint-plugin-svelte rule with the Sudsy rule that covers it and how much of eslint-plugin-svelte's output Sudsy reproduces. - [eslint-plugin-vue rules in Sudsy](https://bingsubandit.github.io/sudsy/compare/eslint-plugin-vue.md): Every eslint-plugin-vue rule with the Sudsy rule that covers it and how much of eslint-plugin-vue's output Sudsy reproduces. - [gersemi rules in Sudsy](https://bingsubandit.github.io/sudsy/compare/gersemi.md): Every gersemi rule with the Sudsy rule that covers it and how much of gersemi's output Sudsy reproduces. - [google-java-format rules in Sudsy](https://bingsubandit.github.io/sudsy/compare/google-java-format.md): Every google-java-format rule with the Sudsy rule that covers it and how much of google-java-format's output Sudsy reproduces. - [graphql-eslint rules in Sudsy](https://bingsubandit.github.io/sudsy/compare/graphql-eslint.md): Every graphql-eslint rule with the Sudsy rule that covers it and how much of graphql-eslint's output Sudsy reproduces. - [hadolint rules in Sudsy](https://bingsubandit.github.io/sudsy/compare/hadolint.md): Every hadolint rule with the Sudsy rule that covers it and how much of hadolint's output Sudsy reproduces. - [html-eslint rules in Sudsy](https://bingsubandit.github.io/sudsy/compare/html-eslint.md): Every html-eslint rule with the Sudsy rule that covers it and how much of html-eslint's output Sudsy reproduces. - [html-validate rules in Sudsy](https://bingsubandit.github.io/sudsy/compare/html-validate.md): Every html-validate rule with the Sudsy rule that covers it and how much of html-validate's output Sudsy reproduces. - [htmlhint rules in Sudsy](https://bingsubandit.github.io/sudsy/compare/htmlhint.md): Every htmlhint rule with the Sudsy rule that covers it and how much of htmlhint's output Sudsy reproduces. - [ktlint rules in Sudsy](https://bingsubandit.github.io/sudsy/compare/ktlint.md): Every ktlint rule with the Sudsy rule that covers it and how much of ktlint's output Sudsy reproduces. - [markdownlint rules in Sudsy](https://bingsubandit.github.io/sudsy/compare/markdownlint.md): Every markdownlint rule with the Sudsy rule that covers it and how much of markdownlint's output Sudsy reproduces. - [php-cs-fixer rules in Sudsy](https://bingsubandit.github.io/sudsy/compare/php-cs-fixer.md): Every php-cs-fixer rule with the Sudsy rule that covers it and how much of php-cs-fixer's output Sudsy reproduces. - [phpstan rules in Sudsy](https://bingsubandit.github.io/sudsy/compare/phpstan.md): Every phpstan rule with the Sudsy rule that covers it and how much of phpstan's output Sudsy reproduces. - [prettier rules in Sudsy](https://bingsubandit.github.io/sudsy/compare/prettier.md): Every prettier rule with the Sudsy rule that covers it and how much of prettier's output Sudsy reproduces. - [psscriptanalyzer rules in Sudsy](https://bingsubandit.github.io/sudsy/compare/psscriptanalyzer.md): Every psscriptanalyzer rule with the Sudsy rule that covers it and how much of psscriptanalyzer's output Sudsy reproduces. - [revive rules in Sudsy](https://bingsubandit.github.io/sudsy/compare/revive.md): Every revive rule with the Sudsy rule that covers it and how much of revive's output Sudsy reproduces. - [Roslynator rules in Sudsy](https://bingsubandit.github.io/sudsy/compare/roslynator.md): Every Roslynator rule with the Sudsy rule that covers it and how much of Roslynator's output Sudsy reproduces. - [rubocop rules in Sudsy](https://bingsubandit.github.io/sudsy/compare/rubocop.md): Every rubocop rule with the Sudsy rule that covers it and how much of rubocop's output Sudsy reproduces. - [ruff rules in Sudsy](https://bingsubandit.github.io/sudsy/compare/ruff.md): Every ruff rule with the Sudsy rule that covers it and how much of ruff's output Sudsy reproduces. - [shellcheck rules in Sudsy](https://bingsubandit.github.io/sudsy/compare/shellcheck.md): Every shellcheck rule with the Sudsy rule that covers it and how much of shellcheck's output Sudsy reproduces. - [shfmt rules in Sudsy](https://bingsubandit.github.io/sudsy/compare/shfmt.md): Every shfmt rule with the Sudsy rule that covers it and how much of shfmt's output Sudsy reproduces. - [sqlfluff rules in Sudsy](https://bingsubandit.github.io/sudsy/compare/sqlfluff.md): Every sqlfluff rule with the Sudsy rule that covers it and how much of sqlfluff's output Sudsy reproduces. - [StyleCop rules in Sudsy](https://bingsubandit.github.io/sudsy/compare/stylecop.md): Every StyleCop rule with the Sudsy rule that covers it and how much of StyleCop's output Sudsy reproduces. - [stylelint rules in Sudsy](https://bingsubandit.github.io/sudsy/compare/stylelint.md): Every stylelint rule with the Sudsy rule that covers it and how much of stylelint's output Sudsy reproduces. - [stylelint-less rules in Sudsy](https://bingsubandit.github.io/sudsy/compare/stylelint-less.md): Every stylelint-less rule with the Sudsy rule that covers it and how much of stylelint-less's output Sudsy reproduces. - [stylelint-scss rules in Sudsy](https://bingsubandit.github.io/sudsy/compare/stylelint-scss.md): Every stylelint-scss rule with the Sudsy rule that covers it and how much of stylelint-scss's output Sudsy reproduces. - [taplo rules in Sudsy](https://bingsubandit.github.io/sudsy/compare/taplo.md): Every taplo rule with the Sudsy rule that covers it and how much of taplo's output Sudsy reproduces. - [terraform rules in Sudsy](https://bingsubandit.github.io/sudsy/compare/terraform.md): Every terraform rule with the Sudsy rule that covers it and how much of terraform's output Sudsy reproduces. - [tflint rules in Sudsy](https://bingsubandit.github.io/sudsy/compare/tflint.md): Every tflint rule with the Sudsy rule that covers it and how much of tflint's output Sudsy reproduces. - [typescript-eslint rules in Sudsy](https://bingsubandit.github.io/sudsy/compare/typescript-eslint.md): Every typescript-eslint rule with the Sudsy rule that covers it and how much of typescript-eslint's output Sudsy reproduces. - [yamllint rules in Sudsy](https://bingsubandit.github.io/sudsy/compare/yamllint.md): Every yamllint rule with the Sudsy rule that covers it and how much of yamllint's output Sudsy reproduces. ## Optional - [llms-full.txt](https://bingsubandit.github.io/sudsy/llms-full.txt): the guide and language pages in one file - [Source](https://github.com/bingsubandit/sudsy)