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.
npm install rintenki-lsp-serverVerified import paths — ran on the pinned version, not inferred.
Demonstrates installation, how to launch the rintenki-lsp-server via standard I/O for a generic LSP client, and provides an example configuration file.
Before upgrading, review the release notes. After upgrading, update your `.rintenkirc.json` configuration and any editor-specific LSP client settings to match the new schema or rule names.
Ensure a valid `.rintenkirc.json` file is present in your project's root directory. Validate its JSON syntax and ensure the rule names and options adhere to the `rintenki` linter's documentation.
Integrate by configuring your editor's LSP client to spawn `rintenki-lsp-server` as a child process, rather than attempting to import its modules directly into your application code. Refer to your LSP client's documentation for server setup instructions.
First, check your editor's LSP output/log panel for specific error messages. Verify the syntax and content of your `.rintenkirc.json`. Ensure `rintenki` is installed as a peer dependency (`npm install rintenki`). If logs are unavailable, try running the server manually with `node ./node_modules/rintenki-lsp-server/lib/server.js --stdio` to see direct console output.
Confirm your editor's LSP client settings properly link HTML file types (e.g., `.html`, `.vue`, `.svelte`) to the `rintenki-lsp-server`. Ensure the server is successfully launched and connected. Review your `.rintenkirc.json` file for 'ignore' patterns or overly lenient rule severities (e.g., 'off').