quick-lint-js

Find bugs in JavaScript programs.

E0171: "globals" descriptor must be a boolean or an object

In a quick-lint-js configuration file, each entry in "globals" must be a boolean or a descriptor object. It is an error if a "globals" item is an array, a number, a string, or null:

{
    "globals": {
        "gsap": "true"
    }
}

To fix this error, make the "globals" entry true or false:

{
    "globals": {
        "gsap": true
    }
}

Introduced in quick-lint-js version 0.4.0.

Documentation for other errors