Carina

lint

Lint .crn files for style issues. Lint runs checks that go beyond syntactic validity (which is covered by validate) — it surfaces patterns that parse and type-check but are stylistically discouraged.

Usage

carina lint [PATH]

PATH defaults to . (current directory). It must be a directory containing one or more .crn files.

Examples

Lint the current directory:

carina lint

Lint a specific directory:

carina lint path/to/config
  • validate — syntactic and type-level checks
  • fmt — automatic formatting