Skip to content

Releases: Mr0grog/yaml-doctor

Version 0.2.0

03 May 20:37
v0.2.0
c089cf1
Compare
Choose a tag to compare

This is a minor version change because the supported CLI options have been drastically improved!

  • Clarify messaging on under-indented lines and explain how much they should be indented.

  • Support specifying multiple paths, directories, and globs on the CLI. For example:

    # Check a directory and all its subfolders. In this case, only files
    # matching *.yaml, *.yml, and *.md will be checked.
    > yaml-doctor path/to/directory
    
    # Check files matching a glob pattern
    > yaml-doctor configuration/*.config
    
    # Check a list of different files, directories, and globs.
    > yaml-doctor this/file.yaml that/file.yaml some/directory/*.yaml

    Globs not processed by your shell are processed with the glob package. Check its documentation for complex patterns you can use.

  • Add --version CLI option.

Version 0.1.1

30 Apr 19:29
v0.1.1
3cb8a7e
Compare
Choose a tag to compare

This is the first meaningful release of YAML Doctor! This project was originally written for Asana, Inc. to help provide better tools for content authors to understand mistakes in Markdown front-matter that they are editing. The code in this version is what we've extracted to open-source from that original work.

A huge thanks to the good folks at Asana for supporting the work to open-source this code!