yml/flow-sequence-bracket-spacing
enforce consistent spacing inside flow sequence brackets
- ⚙️ This rule is included in
"plugin:yml/standard"
. - 🔧 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 flow sequence brackets.
🔧 Options
yaml
yml/flow-sequence-bracket-spacing:
- error
- always # or "never"
- singleValue: true
objectsInArrays: true
arraysInArrays: true
Same as array-bracket-spacing rule option. See here for details.
👫 Related rules
🚀 Version
This rule was introduced in eslint-plugin-yml v0.1.0
🔍 Implementation
Taken with ❤️ from ESLint core