YAML Lint extension for brackets.io
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
thirdparty Added v1 of the extension. Sep 27, 2014
LICENSE
README.md
main.js
package.json
requirejs-config.json

README.md

brackets-yaml-linter

This is an extension for the Brackets editor that provides linting functionality for YAML files.

To install, simply look for this extension in the Brackets extension manager.

This extension uses a modified, bundled version of js-yaml to parse the YAML file. The modification makes js-yaml emit a warning when a key is re-defined in a mapping, e.g.

days_of_the_week:
  Monday: 1
  Tuesday: 2
  Wednesday: 3
  Thursday: 4
  Friday: 5
  Saturday: 6
  Sunday: 7
  Monday: 1

will cause a warning to be emitted because Monday has been defined twice. This was added because it is a common mistake that can be frustrating to trouble-shoot.