Skip to content

AISCGre-BR/gregolint

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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

Watchers

Forks

Releases

No releases published

Packages

No packages published