quick-lint-js

Find bugs in JavaScript programs.

E0167: "globals" descriptor "writable" property must be a boolean

In a quick-lint-js configuration file, a entry in "globals" can have a descriptor object. A descriptor's "writable" property must be either true, false, or omitted.

{
    "globals": {
        "gsap": {
          "writable": 0
        }
    }
}

To fix this error, make the "writable" property true or false:

{
    "globals": {
        "gsap": {
          "writable": false
        }
    }
}

Documentation for other errors