# Source: https://github.com/quick-lint/quick-lint-js/blob/master/docs/errors/E0170.md

# 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`:

```quick-lint-js.config
{
    "global-groups": [
        "ecmascript",
        2020,
        "browser"
    ]
}
```

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

```quick-lint-js.config
{
    "global-groups": [
        "ecmascript",
        "browser"
    ]
}
```

[quick-lint-js configuration file]: https://quick-lint-js.com/config/

Introduced in quick-lint-js version 0.4.0.