quick-lint-js

Find bugs in JavaScript programs.

E0169: "global-groups" must be a boolean or an array

In a quick-lint-js configuration file, "global-groups" must be an array of strings, a boolean, or omitted. It is an error if "global-groups" is a boolean, a number, an object, a string, or null:

{
    "global-groups": {
        "ecmascript": true,
        "browser": true
    }
}

To fix this error, make "global-groups" an array:

{
    "global-groups": [
        "ecmascript",
        "browser"
    ]
}

Introduced in quick-lint-js version 0.4.0.

Documentation for other errors