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.
| Rule | Severity | Description |
|---|---|---|
| lsp-server-name-too-short | warn | Server name is too short |
| lsp-language-id-not-lowercase | warn | Language ID should be lowercase |
| lsp-language-id-empty | error | Language ID is empty |
| lsp-invalid-transport | error | Invalid transport type |
| lsp-extension-missing-dot | warn | File extension missing leading dot |
| lsp-command-not-in-path | warn | Command not found in 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