diff --git a/.eslintrc.json b/.eslintrc.json index 5dfa03c90e..c6979890af 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -306,7 +306,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",