Created
June 27, 2022 06:25
-
-
Save mxr576/a8dee268a31447f33da0946df9534abd to your computer and use it in GitHub Desktop.
Experimenting with linting yaml-s with eslint-plugin-yml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
extends: | |
- plugin:yml/standard | |
rules: | |
yml/block-mapping: | |
- error | |
- always | |
yml/block-sequence: | |
- error | |
- always | |
yml/quotes: | |
- error | |
- prefer: single | |
avoidEscape: true | |
yml/no-multiple-empty-lines: | |
- error | |
- max: 1 | |
yml/flow-sequence-bracket-spacing: | |
- error | |
- always | |
yml/plain-scalar: | |
- error | |
- always |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment