quick-lint-js

Find bugs in JavaScript programs.

Install for Kate on Arch Linux

Supported operating systems:

1. Install prerequisites

Install Kate version 19 or newer.

2. Install quick-lint-js

quick-lint-js has two packages in the AUR:

If you are using an AUR helper, install quick-lint-js on Arch Linux using your helper. For example, to install with yay, open a terminal and run the following commands:

yay -Sy quick-lint-js

If you want to install without an AUR helper, download and install the package from AUR manually by running the following commands:

pacman -Sy base-devel git
git clone https://aur.archlinux.org/quick-lint-js.git aur-quick-lint-js
cd aur-quick-lint-js
makepkg -si

3. Configure Kate

Open the LSP Client tab in Kate's settings. In your User Server Settings, paste the following configuration:

{
    "servers": {
        "javascript": {
            "command": ["quick-lint-js", "--lsp-server"],
            "documentLanguageId": true,
            "highlightingModeRegex": "^JavaScript.*$",
            "root": "",
            "url": "https://quick-lint-js.com/install/kate/"
        }
    }
}

TODO: TypeScript support in Kate