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

enforce line breaks after opening and before closing array brackets

📖 Rule Details

This rule enforces line breaks after opening and before closing array brackets.

🔧 Options

json

{
    "jsonc/array-bracket-newline": ["error",
        {
            "multiline": true,
            "minItems": null
        }
    ]
}

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

🚀 Version

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

🔍 Implementation

Taken with ❤️ from ESLint core