Install for Emacs with Scoop
1. Install prerequisites
Install one of the following Emacs plugins:
- Eglot (recommended) (included in Emacs version 29 or newer)
- Flymake (included in Emacs version 26 or newer)
- Flycheck
- LSP Mode
2. Install quick-lint-js
quick-lint-js has a Scoop package, making it easy to install the CLI and LSP server on Windows.
In order to install quick-lint-js' Scoop package, you must first install Scoop.
Open a command prompt or PowerShell window. Run the following command to install quick-lint-js:
scoop install quick-lint-js
3. Install Emacs plugin
- Download the quick-lint-js Emacs plugin.
-
Extract
quick-lint-js-emacs.zip
's files into a directory somewhere safe (for example,~/.emacs/quick-lint-js-emacs/
). -
Add the
quick-lint-js-emacs
directory to the Emacsload-path
variable. For example, add the following line to your init file (e.g.~/.emacs
):(add-to-list 'load-path "~/.emacs/quick-lint-js-emacs")
- Restart Emacs.