{"id":15405299,"url":"https://github.com/ydah/yamlint","last_synced_at":"2026-01-25T01:03:23.761Z","repository":{"id":63293572,"uuid":"566764404","full_name":"ydah/yamlint","owner":"ydah","description":"A Ruby CLI for linting and formatting YAML files","archived":false,"fork":false,"pushed_at":"2026-01-22T01:17:32.000Z","size":136,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-01-22T12:48:36.410Z","etag":null,"topics":["format","formatter","lint","linter","ruby","yaml","yml"],"latest_commit_sha":null,"homepage":"https://ydah.github.io/yamlint/","language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ydah.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE.txt","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null},"funding":{"github":"ydah"}},"created_at":"2022-11-16T11:22:47.000Z","updated_at":"2026-01-22T02:10:34.000Z","dependencies_parsed_at":"2023-01-24T17:00:43.084Z","dependency_job_id":null,"html_url":"https://github.com/ydah/yamlint","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ydah/yamlint","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ydah%2Fyamlint","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ydah%2Fyamlint/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ydah%2Fyamlint/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ydah%2Fyamlint/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ydah","download_url":"https://codeload.github.com/ydah/yamlint/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ydah%2Fyamlint/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28740404,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-24T22:12:27.248Z","status":"ssl_error","status_checked_at":"2026-01-24T22:12:10.529Z","response_time":89,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["format","formatter","lint","linter","ruby","yaml","yml"],"created_at":"2024-10-01T16:15:59.355Z","updated_at":"2026-01-25T01:03:23.754Z","avatar_url":"https://github.com/ydah.png","language":"Ruby","funding_links":["https://github.com/sponsors/ydah"],"categories":[],"sub_categories":[],"readme":"\u003ch1 align=\"center\"\u003eyamlint\u003c/h1\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"https://img.shields.io/badge/ruby-%3E%3D%203.1-ruby.svg\" alt=\"Ruby Version\"\u003e\u003cimg src=\"https://img.shields.io/badge/license-MIT-blue.svg\" alt=\"License\"\u003e\u003ca href=\"https://github.com/ydah/yamlint/actions/workflows/test.yml\"\u003e\u003cimg src=\"https://github.com/ydah/yamlint/actions/workflows/test.yml/badge.svg?branch=main\" alt=\"test\"\u003e\u003c/a\u003e\u003ca href=\"https://badge.fury.io/rb/yamlint\"\u003e\u003cimg src=\"https://badge.fury.io/rb/yamlint.svg\" alt=\"Gem Version\"\u003e\u003c/a\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n  A Ruby CLI for linting and formatting YAML files\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"#features\"\u003eFeatures\u003c/a\u003e •\n  \u003ca href=\"#quickstart\"\u003eQuickstart\u003c/a\u003e •\n  \u003ca href=\"#installation\"\u003eInstallation\u003c/a\u003e •\n  \u003ca href=\"#usage\"\u003eUsage\u003c/a\u003e •\n  \u003ca href=\"#configuration\"\u003eConfiguration\u003c/a\u003e •\n  \u003ca href=\"#rules\"\u003eRules\u003c/a\u003e\n\u003c/p\u003e\n\n## Features\n\n- Rule-based linting and auto-formatting\n- Configuration via `.yamllint(.yml/.yaml)` with preset `extends`\n- CI-friendly output formats (standard/parsable/colored/github)\n- YAML file patterns and ignore support\n\n## Quickstart\n\n```bash\ngem install yamlint\n\n# lint\nyamlint .\n\n# format (dry-run)\nyamlint format --dry-run .\n```\n\n## Installation\n\nWith Bundler:\n\n```bash\nbundle add yamlint\n```\n\nWithout Bundler:\n\n```bash\ngem install yamlint\n```\n\n## Usage\n\nBasic:\n\n```bash\nyamlint .\nyamlint path/to/file.yml\n```\n\nFormatting:\n\n```bash\nyamlint format .\nyamlint format --dry-run .\n```\n\nCI output:\n\n```bash\nyamlint -f github .\n```\n\nHelp:\n\n```bash\nyamlint --help\n```\n\n## Configuration\n\nDefault config file names:\n\n- `.yamllint`\n- `.yamllint.yml`\n- `.yamllint.yaml`\n\nConfiguration options:\n\n| Option | Type | Default | Behavior |\n| --- | --- | --- | --- |\n| `extends` | string | none | Inherit a preset (`default` or `relaxed`). Values from the current file override the preset. |\n| `yaml-files` | list of glob strings | `[\"*.yaml\", \"*.yml\"]` | Glob patterns used when discovering YAML files in directories. |\n| `ignore` | list of strings | `[]` | List of paths to skip. Parsed by the config loader but not currently applied to file discovery. |\n| `rules` | map | `{}` | Per-rule configuration. Set a rule to `disable` or `false` to turn it off, or provide a map of options. |\n\nNotes:\n\n- Rule option keys accept either `snake_case` or `kebab-case` and are normalized internally.\n- Rule option defaults come from the rule implementation and are merged with your overrides.\n\nExample:\n\n```yaml\nextends: default\n\nyaml-files:\n  - \"*.yml\"\n  - \"*.yaml\"\n\nignore:\n  - vendor\n  - node_modules\n\nrules:\n  line-length:\n    max: 120\n  document-start: disable\n  truthy:\n    allowed-values: [\"true\", \"false\"]\n```\n\n## Presets\n\nAvailable presets:\n\n- `default`\n- `relaxed`\n\n```yaml\nextends: relaxed\n```\n\n## Rules\n\nKey rules:\n\n- anchors, braces, brackets, colons, commas, comments, comments-indentation\n- document-start, document-end, empty-lines, empty-values, float-values\n- hyphens, indentation, key-duplicates, key-ordering, line-length\n- new-lines, new-line-at-end-of-file, octal-values, quoted-strings\n- trailing-spaces, truthy\n\n## Output formats\n\nUse `-f`/`--format` to select an output format:\n\n- `standard`\n- `parsable`\n- `colored`\n- `github`\n\n## Development\n\n```bash\nbin/setup\nrake spec\n```\n\nInstall locally:\n\n```bash\nbundle exec rake install\n```\n\nRelease:\n\n```bash\nbundle exec rake release\n```\n\n## License\n\nMIT License. See `LICENSE.txt` for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fydah%2Fyamlint","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fydah%2Fyamlint","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fydah%2Fyamlint/lists"}