Appearance
disallow comments
"plugin:jsonc/recommended-with-json"
This rule reports comments.
Cannot use comments when in JSON.
/* eslint jsonc/no-comments: 'error' */ { /* ✗ BAD */ // ✗ BAD }
Nothing.
This rule was introduced in eslint-plugin-jsonc v0.1.0
jsonc/no-comments
"plugin:jsonc/recommended-with-json"
.📖 Rule Details
This rule reports comments.
Cannot use comments when in JSON.
/* eslint jsonc/no-comments: 'error' */ { /* ✗ BAD */ // ✗ BAD }
🔧 Options
Nothing.
🚀 Version
This rule was introduced in eslint-plugin-jsonc v0.1.0
🔍 Implementation