diff --git a/.eslintrc.json b/.eslintrc.json index d5832cb406..82f9519c27 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -305,7 +305,10 @@ "plugin:jsonc/recommended-with-json5" ], "rules": { - "no-irregular-whitespace": "error", + // The ESLint core no-irregular-whitespace rule doesn't work well in JSON + // See: https://ota-meshi.github.io/eslint-plugin-jsonc/rules/no-irregular-whitespace.html + "no-irregular-whitespace": "off", + "jsonc/no-irregular-whitespace": "error", "no-trailing-spaces": "error", "jsonc/comma-dangle": [ "error",