{"library":"yaml-lint","type":"library","category":null,"description":"yaml-lint is a straightforward command-line interface (CLI) tool and programmatic API for validating YAML files against a specified schema or for general syntax correctness. It's currently stable at version 1.7.0. The package has seen consistent maintenance releases, with the latest significant update fixing glob pattern issues on Windows and migrating to TypeScript in version 1.3.0. Its key differentiators include the ability to specify different YAML schemas (DEFAULT, FAILSAFE, JSON, CORE), flexible configuration via JSON files, environment variables, or CLI arguments, and support for ignoring files using glob patterns. It processes multi-document YAML sources and provides clear error reporting for invalid files.","language":"javascript","status":"active","version":"1.7.0","tags":["javascript","yaml","lint","linter","cli","typescript"],"last_verified":"Wed May 27","install":[{"cmd":"npm install yaml-lint","imports":["import yamlLint from 'yaml-lint';","import yamlLint from 'yaml-lint';\nyamlLint.lint('...');","import type { LintOptions } from 'yaml-lint';"]},{"cmd":"yarn add yaml-lint","imports":[]},{"cmd":"pnpm add yaml-lint","imports":[]}],"homepage":null,"github":"https://github.com/rasshofer/yaml-lint","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/yaml-lint","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/yaml-lint/compatibility"}}