This package will parse your YAML files in Atom through js-yaml, exposing any issues reported.
$ apm install linter-js-yaml
You can configure linter-js-yaml by editing ~/.atom/config.cson (choose Open Your Config in Atom menu) or in Preferences.
The node kind defaults to scalar
, however mapping
and sequence
kinds can be specified following a space separator:
'linter-js-yaml':
'customTags': [
"!yaml"
"!include"
"!delta mapping"
"!epsilon sequence"
]
customTags
: List of YAML custom tags, each optionally followed by a space and the node kind (scalar, mapping, or sequence).