{"library":"replicated-lint","title":"replicated-lint","description":"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.","language":"javascript","status":"active","last_verified":"Fri May 01","install":{"commands":["npm install replicated-lint"],"cli":{"name":"replicated-lint","version":null}},"imports":["import replicatedLint from 'replicated-lint'","import { validate } from 'replicated-lint'","import type { LintResult } from 'replicated-lint'"],"auth":{"required":false,"env_vars":[]},"quickstart":{"code":"import { validate } from 'replicated-lint';\nimport { readFileSync } from 'fs';\n\nconst yamlContent = readFileSync('my-app.yml', 'utf8');\nconst results = validate(yamlContent, {\n  threshold: 'error',\n  extraRules: [],\n});\n\nif (results.length > 0) {\n  console.log('Lint issues found:');\n  results.forEach(r => console.log(`${r.type}: ${r.message}`));\n} else {\n  console.log('No issues found.');\n}","lang":"typescript","description":"Programmatic validation of a YAML string using the validate function, checking for errors and logging results.","tag":null,"tag_description":null,"last_tested":null,"results":[]},"compatibility":null}