Skip to content

Latest commit

 

History

1 Commit

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gregolint

CLI linter for .gabc files.

Rules

See RULES.md for the list of currently implemented diagnostics.

Install (local workspace)

From the workspace root (sibling folders):

  • cd gregolint && npm install

Usage

  • ./bin/gregolint path/to/file.gabc
  • ./bin/gregolint --min-severity warning file1.gabc file2.gabc
  • ./bin/gregolint --ignore missing-name-header,duplicate-header file.gabc

JSON diagnostics

Use --format json to print a single JSON object to stdout:

  • ./bin/gregolint --format json file.gabc

Notes:

  • JSON range is LSP-like and 0-based (line, character).
  • Text output uses 1-based line:column for readability.

Exit codes

  • 0: no errors
  • 1: at least one diagnostic with severity error
  • 2: usage/runtime error

About

CLI linter for Gregorio GABC files - reusable linting core for LSP and VS Code extension

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages