quick-lint-js

Find bugs in JavaScript programs.

E0166: "globals" descriptor "shadowable" property must be a boolean

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

{
    "globals": {
        "gsap": {
          "shadowable": 0
        }
    }
}

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

{
    "globals": {
        "gsap": {
          "shadowable": false
        }
    }
}

Introduced in quick-lint-js version 0.4.0.

Documentation for other errors