xslint catches malformed XML, invalid XPath, and stylistic defects in your XSL/XSLT stylesheets — on the command line, in CI, and live in your editor.
| Project | What it is |
|---|---|
| xslint | The core CLI linter. It first checks that every stylesheet is well-formed and every XPath expression compiles, then runs its check catalog over what passed — with --fix for the mechanical defects. |
| xslint-action | A GitHub Action that runs xslint on every pull request and annotates the diff inline, no SARIF step required. |
| xslint-lsp | A Language Server plus a VS Code / Open VSX extension — live diagnostics and quick-fixes as you type, in any LSP-capable editor. |
| xslint-jetbrains | A JetBrains IDE plugin — the same diagnostics and quick-fixes in IntelliJ IDEA, WebStorm, PyCharm, and the rest, via the xslint-lsp server. |
Lint a directory of stylesheets:
npx @maxonfjvipon/xslint path/to/stylesheetsGate your pull requests in CI:
- uses: actions/checkout@v6
- uses: xslint/xslint-action@0.0.5- 📖 Check catalog — every rule, with its motivation
- 📦 npm: @maxonfjvipon/xslint — the CLI
- 🧩 npm: xslint-lsp — the language server
Everything here is MIT-licensed.
