Skip to content

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.

RuleSeverityDescription
lsp-server-name-too-shortwarnServer name is too short
lsp-language-id-not-lowercasewarnLanguage ID should be lowercase
lsp-language-id-emptyerrorLanguage ID is empty
lsp-invalid-transporterrorInvalid transport type
lsp-extension-missing-dotwarnFile extension missing leading dot
lsp-command-not-in-pathwarnCommand not found in PATH

CLI Usage

bash
# Validate LSP configuration
claudelint validate-lsp

# Verbose output
claudelint validate-lsp --verbose

See Also