0.1.0 • Published 5 years ago
@fedran/lint v0.1.0
Fedran Linter
A command-line lint program that checks for various conventions in the Fedran fiction.
This includes checking for:
- Missing
summaryin the header. - Missing
titlein the header. - Missing epigraph as the first line of the contents.
This only checks the following paths, both .md and .markdown:
chapters/chapter-*.mdsrc/*.mdsrc/*/chapters/chapter-*.md
If an error is found, then this will return with a non-zero exit code.
Usage
The basic usage implies that it is run on the root level of the project.
$ fedran-lint$ fedran-lint -d directory/path