quick-lint-js

Find bugs in JavaScript programs.

E0170: "global-groups" entries must be strings

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

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

To fix this error, remove non-string items in "global-groups":

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

Documentation for other errors