Skip to content

jsonc/array-bracket-spacing

disallow or enforce spaces inside of brackets

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

📖 Rule Details

This rule enforces consistent spacing inside array brackets.

Now loading...

🔧 Options

json
{
    "jsonc/array-bracket-spacing": ["error",
        "never"
    ]
}

Same as array-bracket-spacing rule option. See here for details.

🚀 Version

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

🔍 Implementation

Taken with ❤️ from ESLint core