Find bugs in JavaScript programs.

Install for Kate with Nix

Supported operating systems:

Install prerequisites

In order to install quick-lint-js' Nix package, you must first install Nix or NixOS.

Install Kate version 19 or newer.

Install quick-lint-js

Open a terminal, and run the following command:

nix-env -iA nixpkgs.quick-lint-js

If the above command fails with “error: attribute 'quick-lint-js' in selection path 'nixpkgs.quick-lint-js' not found”, your Nixpkgs is out of date. Either update Nixpkgs, or install from quick-lint-js' repository instead:

nix-env -f https://c.quick-lint-js.com/releases/2.10.0/source/quick-lint-js-2.10.0.tar.gz -iA quick-lint-js

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/"