jsonc/array-bracket-spacing | eslint-plugin-jsonc (original) (raw)

disallow or enforce spaces inside of brackets

📖 Rule Details

This rule enforces consistent spacing inside array brackets.

🔧 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