yaml-sort
Sort YAML keys and validate YAML (fork from elledienne)
KouroshVivan 16 0 0.6.1 MIT GitHub

YAML SortKey

YAML Sortkey is an atom package that not only automatically validates your YAML files while you develop, but also gives you the option to automatically sort the keys on file save.

Full Demo: https://www.youtube.com/watch?v=s-GNDcK0Nq0

Installation

  • Install via Atom's Package manager by searching for "yaml-sort"

Usage

Valid Commands
  • Yaml Sortkey: Validate
  • Yaml Sortkey: Sort Keys

YAML SortKey Valid Commands

Configuration
  • Autosort Directories: Accepts an array of file paths in which all yaml files within those paths will be autosorted before saving.

YAML SortKey Configuration