quick-lint-js

Find bugs in JavaScript programs.

E0164: JSON syntax error

quick-lint-js configuration files (named quick-lint-js.config) contain valid JSON (according to RFC8259). quick-lint-js cannot read a configuration file with malformed JSON:

{
    "globals": {
        // Google Analytics
        "ga": true,
        "google": true,
    }
}

Common mistakes in JSON are trailing commas (disallowed) and comments (disallowed).

To fix this error, correct mistakes in the JSON syntax for your configuration file:

{
    "globals": {
        " // Google Analytics": false,
        "ga": true,
        "google": true
    }
}

Documentation for other errors