toml/array-bracket-newline
enforce linebreaks after opening and before closing array brackets
- ⚙️ This rule is included in
"plugin:toml/standard"
. - 🔧 The
--fix
option on the command line can automatically fix some of the problems reported by this rule.
📖 Rule Details
This rule enforces line breaks after opening and before closing array brackets.
🔧 Options
yaml
toml/array-bracket-newline:
- error
- always # or "never" or "consistent"
- multiline: true
minItems: null
Same as array-bracket-newline rule option. See here for details.
👫 Related rules
🚀 Version
This rule was introduced in eslint-plugin-toml v0.1.0
🔍 Implementation
Taken with ❤️ from ESLint core