# 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
        }
    }

Introduced in quick-lint-js version 0.4.0.

Documentation for other errors