LSP Validator
The LSP validator checks Language Server Protocol configuration files for transport settings, language IDs, file extensions, and server commands.
What It Checks
- Transport configuration (stdio, TCP)
- Language ID format and validity
- File extension format
- Server command existence
- Configuration file paths
Rules
This validator includes 6 rules. See the LSP rules category for the complete list.
lsp-invalid-transportLSP server uses an invalid transport type
lsp-language-id-emptyLanguage ID field is empty
lsp-extension-missing-dotFile extension is missing the leading dot
lsp-command-bare-nameServer command uses a bare name instead of explicit path
CLI Usage
bash
# Validate LSP configuration
claudelint validate-lsp
# Verbose output
claudelint validate-lsp --verboseSee Also
- Claude Code LSP Servers - Official LSP documentation
- Configuration - Customize rule severity