YAML linting tools for Replicated application manifests. Current stable version 0.19.3, released irregularly. Validates Replicated YAML files for common mistakes and best practices. Ships TypeScript types. Supports custom rules via JSON/YAML files and CLI options for threshold, reporters (console, junit), and extra rule sets. Key differentiator: specialized for Replicated application schema rather than generic YAML linting. Provides position-aware results for easy debugging.
npm install replicated-lintNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Programmatic validation of a YAML string using the validate function, checking for errors and logging results.
Always call .toString() on file contents before passing.
Use -f or --infile instead of positional file path.
Replace lint() calls with validate().
Validate your extra rules file by running it through a YAML parser first.
Provide absolute paths or paths relative to CWD.
Run 'npm install replicated-lint' or 'npm install -g replicated-lint' for CLI.
Use 'import { validate } from 'replicated-lint' instead of default import.Ensure extraRules file contains a YAML/JSON array of rule objects.
Check that the file path exists and is correct.
No dependency data recorded yet.