Skip to content

danielpza/eslint-lsp

Repository files navigation

eslint-lsp

npm code style: prettier

Eslint language server

NOTE: this is a work in progress and still lacks many feature

Installation

npm install --global eslint-lsp
# or from github npm install --global danielpza/eslint-lsp

Usage

eslint-lsp --stdio

Emacs Integration

lsp-mode:

(setq lsp-eslint-server-command '("eslint-lsp" "--stdio"))

eglot:

(add-to-list 'eglot-server-programs `(js-mode . ("eslint-lsp" "--stdio")))

Roadmap

  • Code actions