enforce linebreaks after opening and before closing flow sequence brackets
- ⚙️ This rule is included in
- 🔧 The
--fixoption on the command line (opens new window) can automatically fix some of the problems reported by this rule.
# 📖 Rule Details
This rule enforces line breaks after opening and before closing flow sequence brackets.
# 🔧 Options
yml/flow-sequence-bracket-newline: - error - always # or "never" or "consistent" - multiline: true minItems: null
# 👫 Related rules
# 🚀 Version
This rule was introduced in eslint-plugin-yml v0.1.0
# 🔍 Implementation
- Rule source (opens new window)
- Test source (opens new window)
- Test fixture sources (opens new window)
Taken with ❤️ from ESLint core (opens new window)