Install for Neovim on Debian/Ubuntu
Supported operating systems:
1. Install prerequisites
Install and configure one of the following Neovim plugins:
- ALE - Asynchronous Lint Engine v2.1.1 or newer, or version v3.0.0 or newer
- coc.nvim - Conquer of Completion v0.0.80 or newer
- nvim-lspconfig (requires Neovim 0.5.0 or newer)
2. Install quick-lint-js
Open a terminal, and run the following commands:
curl https://c.quick-lint-js.com/quick-lint-js-release.key | sudo apt-key add - printf '\n# From: https://quick-lint-js.com/install/neovim/debian/\ndeb [arch=amd64,arm64] https://c.quick-lint-js.com/debian experimental main\n' | sudo tee /etc/apt/sources.list.d/quick-lint-js.list sudo apt-get update sudo apt-get install quick-lint-js quick-lint-js-vim
3. Configure
Configure the Neovim plugin by opening Neovim and running :help quick-lint-js, or read the Neovim plugin docs online.
nvim-lspconfig users can add this line to their init.lua
file:
require('lspconfig/quick_lint_js').setup {}