Linter-YAML-Linting
aims to provide functional and robust YAML
linting functionality within Atom.
The Linter
Atom package is required and the yamllint
executable.
Linter-UI-Default
. For Panel Represents
and/or Statusbar Represents
, you will need to change their options to Entire Project
. This will allow you to use either display to quickly access issues in other files by clicking on the displayed information.You can place the following example configuration file in your Atom project folder.
---yaml-files:- '*.yaml'- '*.yml'- '.yamllint'rules:braces: enablebrackets: enablecolons: enablecommas: enablecomments:level: warningcomments-indentation:level: warningdocument-end: disabledocument-start:level: warningempty-lines: enableempty-values: disablehyphens: enableindentation: enablekey-duplicates: enablekey-ordering: disableline-length: enablenew-line-at-end-of-file: enablenew-lines: enableoctal-values: disablequoted-strings: disabletrailing-spaces: enabletruthy:level: warning
Good catch. Let us know what about this package looks wrong to you, and we'll investigate right away.