eslint-lsp is a language server that wraps ESLint to provide linting diagnostics via the Language Server Protocol (LSP). The current stable version is 0.1.2, with an infrequent release cadence. It is a minimal implementation, still lacking many features (e.g., code actions) and is primarily intended as a proof-of-concept. Compared to alternatives like vscode-eslint or eslint-language-server, it is barebones and community-maintained. It works with editors like Emacs (lsp-mode, eglot) by spawning the server with --stdio.
npm install eslint-lspVerified import paths — ran on the pinned version, not inferred.
Install globally, create a minimal ESLint config, and test the LSP with a raw LSP initialize message via stdin.
Consider using eslint-language-server or vscode-eslint for a more complete solution.
Use JSON-formatted .eslintrc (e.g., .eslintrc.json) to ensure config is parsed.
None yet; limit workspace size or use alternative server.
Use full npm scope @danielpza/eslint-lsp if ambiguous; but current npm package is eslint-lsp.
Install eslint globally alongside eslint-lsp: npm install -g eslint-lsp eslint
Prefix JSON message with 'Content-Length: <length>\r\n\r\n' where <length> is the byte length of the JSON string.