Skip to content

Instantly share code, notes, and snippets.

@mxr576
Created June 27, 2022 06:25
Show Gist options
  • Save mxr576/a8dee268a31447f33da0946df9534abd to your computer and use it in GitHub Desktop.
Save mxr576/a8dee268a31447f33da0946df9534abd to your computer and use it in GitHub Desktop.
Experimenting with linting yaml-s with eslint-plugin-yml
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