From 420b2e238be9fc02bad54d1827e5136487656ee7 Mon Sep 17 00:00:00 2001 From: Chris Graf Date: Tue, 30 Jun 2026 16:31:19 -0500 Subject: [PATCH] Document Nix, Protobuf, and SCSS/LESS support MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Summary The registry has supported Nix (`nixfmt` / `statix`), Protobuf (`buf format` / `buf lint`), and SCSS/LESS (routed through `biome`) for a while, and `autoformat`/`autolint` implement and dispatch all of their adapters — but the docs never mentioned them, so a reader couldn't discover that `.nix`, `.proto`, `.scss`, and `.less` are handled. - README "Supported Tools": add `.scss`/`.less` to the biome row and add Nix and Protobuf rows - `autoformat`/`autolint` `--help` "Supported file types": add `.scss`, `.less` to Web/data and add Nix (`.nix`) and Protobuf (`.proto`) lines Docs only; no behavior change. Testing - `test/checkrun-test`: 103 passed, 0 failed (includes the static shellcheck check over the changed files) --- README.md | 4 +++- lib/checkrun/autoformat.sh | 4 +++- lib/checkrun/autolint.sh | 4 +++- 3 files changed, 9 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index eb51260..578cb9a 100644 --- a/README.md +++ b/README.md @@ -318,7 +318,9 @@ dynamically scoped `fix` and `json` behavior. | Ruby | `rubocop` layout autocorrect | `rubocop` | | HTML | `superhtml fmt` | `superhtml check` | | TOML | `taplo` | `taplo` | -| JSON/JSONC/CSS/JS/JSX/TS/TSX | `biome` | `biome` | +| JSON/JSONC/CSS/SCSS/LESS/JS/JSX/TS/TSX | `biome` | `biome` | +| Nix | `nixfmt` | `statix` | +| Protobuf | `buf format` | `buf lint` | | YAML | `yamlfmt` | - | | GitHub Actions | `yamlfmt` | `actionlint` + `zizmor` | | Markdown | `rumdl` | `rumdl` | diff --git a/lib/checkrun/autoformat.sh b/lib/checkrun/autoformat.sh index 1be2edf..80b4daa 100644 --- a/lib/checkrun/autoformat.sh +++ b/lib/checkrun/autoformat.sh @@ -29,12 +29,14 @@ _autoformat_usage() { " Go: .go" \ " Java: .java" \ " Lua: .lua" \ + " Nix: .nix" \ " PHP: .php" \ + " Protobuf: .proto" \ " Python: .py" \ " Ruby: .rb" \ " Rust: .rs" \ " Shell: .sh, .bash, .zsh, extensionless files with a shell shebang, .bashrc, .zshrc, .profile, .envrc" \ - " Web/data: .css, .js, .jsx, .ts, .tsx, .json, .jsonc, .html, .htm" \ + " Web/data: .css, .scss, .less, .js, .jsx, .ts, .tsx, .json, .jsonc, .html, .htm" \ "" \ "Options:" \ " -h, --help Show this help and exit." diff --git a/lib/checkrun/autolint.sh b/lib/checkrun/autolint.sh index 2062b6a..2339fa7 100644 --- a/lib/checkrun/autolint.sh +++ b/lib/checkrun/autolint.sh @@ -69,13 +69,15 @@ _autolint_usage() { " Go: .go" \ " Java: .java" \ " Lua: .lua" \ + " Nix: .nix" \ " PHP: .php" \ + " Protobuf: .proto" \ " Python: .py" \ " Ruby: .rb" \ " Rust: .rs" \ " Shell: .sh, .bash, .zsh, extensionless files with a shell shebang, .bashrc, .zshrc, .envrc" \ " Systemd: .automount, .device, .mount, .path, .scope, .service, .slice, .socket, .swap, .target, .timer" \ - " Web/data: .css, .js, .jsx, .ts, .tsx, .json, .jsonc, .html, .htm" \ + " Web/data: .css, .scss, .less, .js, .jsx, .ts, .tsx, .json, .jsonc, .html, .htm" \ "" \ "Options:" \ " --fix Apply safe linter fixes where supported." \