yml/block-mapping-colon-indicator-newline
enforce consistent line breaks after
:indicator
- 🔧 The
--fixoption on the command line can automatically fix some of the problems reported by this rule.
📖 Rule Details
This rule aims to enforce consistent line breaks after : indicator.
🔧 Options
yaml
yml/block-mapping-colon-indicator-newline:
- error
- never # or "always""always"... Requires line breaks after after:indicator of block style mappings."never"... Disallow line breaks after after:indicator of block style mappings.
👫 Related rules
- yml/flow-sequence-bracket-newline
- yml/flow-mapping-curly-newline
- yml/key-spacing
- yml/block-mapping-question-indicator-newline
- yml/block-sequence-hyphen-indicator-newline
🚀 Version
This rule was introduced in eslint-plugin-yml v1.2.0