Skip to content


enforce consistent comma style

  • 🔧 The --fix option on the command line can automatically fix some of the problems reported by this rule.

📖 Rule Details

This rule enforce consistent comma style in array literals and object literals.

Now loading...

🔧 Options

    "jsonc/comma-style": ["error",

Same as comma-style rule option. See here for details.

🚀 Version

This rule was introduced in eslint-plugin-jsonc v0.1.0

🔍 Implementation

Taken with ❤️ from ESLint core