rintenki HTML LSP Server

0.14.5 · active · verified Sun Apr 19

rintenki-lsp-server is a Language Server Protocol (LSP) implementation specifically designed for the rintenki HTML linter. It provides real-time diagnostics, code actions (including quick fixes for auto-fixable rules), and rich hover information for HTML documents. Currently at version 0.14.5, it is under active development, likely with a release cadence tied to the core rintenki linter. Key differentiators include its focus on precise HTML linting, integration with the robust rintenki ruleset, and configurability via a `.rintenkirc.json` file or editor-specific settings. While primarily consumed by editor extensions like the rintenki VS Code extension, it can be integrated with any LSP-compatible client by launching it as a standard I/O process.

Common errors

Warnings

Install

Imports

Quickstart

Demonstrates installation, how to launch the rintenki-lsp-server via standard I/O for a generic LSP client, and provides an example configuration file.

npm install rintenki-lsp-server rintenki

# To launch the rintenki LSP server for generic LSP clients (e.g., Neovim, Emacs):
# Configure your LSP client to execute this command:
# (ensure 'node' is in your PATH or specify the full path to your Node.js executable)
node ./node_modules/rintenki-lsp-server/lib/server.js --stdio

// Example .rintenkirc.json in your project root for configuration:
// {
//   "rules": {
//     "no-bare-script": "warn",
//     "self-closing-void-elements": "error",
//     "prefer-button-type": "off"
//   }
// }

view raw JSON →