@phoenix-plugin-registry/brackets-yaml-linter

1.0.0 • Public • Published

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.

Readme

Keywords

Package Sidebar

Install

npm i @phoenix-plugin-registry/brackets-yaml-linter

Weekly Downloads

1

Version

1.0.0

License

MIT

Unpacked Size

93.7 kB

Total Files

6

Last publish

Collaborators

  • ushmajit
  • core.ai