{
  "id": "yamllint",
  "name": "yamllint",
  "homepage": "https://github.com/adrienverge/yamllint",
  "description": "Linter for YAML files.",
  "icon": "SimpleIcons:yaml",
  "executables": [
    "yamllint"
  ],
  "dotfiles": {
    "paths": [
      "~/.config/yamllint/config"
    ],
    "secret": [],
    "side_effect": false
  },
  "commands": {
    "format": 1,
    "label": "Lint YAML",
    "description": "Lint YAML files or directories. Reading from stdin and the --list-files mode are left out.",
    "quality": "ai-draft",
    "parser": {
      "end_of_options": "--",
      "interleave": "permute",
      "long_equals": true,
      "short_attached": true,
      "short_bundles": true
    },
    "source": [
      {
        "id": "cli",
        "kind": "help",
        "url": "https://github.com/adrienverge/yamllint/blob/master/yamllint/cli.py",
        "revision": "master 2026-10-27",
        "evidence": "files_group.add_argument('files', metavar='FILE_OR_DIR', nargs='*',\nhelp='files to check')\nconfig_group.add_argument('-c', '--config-file', dest='config_file',\nhelp='path to a custom configuration')\nconfig_group.add_argument('-d', '--config-data', dest='config_data',\nhelp='custom configuration (as YAML source)')\nparser.add_argument('-f', '--format',\nchoices=('parsable', 'standard', 'colored', 'github', 'auto'),\ndefault='auto', help='format for parsing output')\nparser.add_argument('-s', '--strict',\nhelp='return non-zero exit code on warnings as well as errors')\nparser.add_argument('--no-warnings',\nhelp='output only error level problems')\n"
      }
    ],
    "field": [
      {
        "id": "files",
        "label": "Files or directories",
        "type": "path",
        "path": {
          "kind": "any",
          "role": "input"
        },
        "position": 0,
        "multiple": true,
        "sources": [
          "cli"
        ]
      },
      {
        "id": "config_file",
        "label": "Config file",
        "type": "path",
        "path": {
          "kind": "file",
          "role": "input"
        },
        "option": [
          "-c",
          "--config-file"
        ],
        "sources": [
          "cli"
        ]
      },
      {
        "id": "config_data",
        "label": "Inline config (YAML)",
        "type": "string",
        "option": [
          "-d",
          "--config-data"
        ],
        "sources": [
          "cli"
        ]
      },
      {
        "id": "format",
        "label": "Output format",
        "type": "enum",
        "option": [
          "-f",
          "--format"
        ],
        "choices": [
          {
            "value": "parsable",
            "label": "Parsable"
          },
          {
            "value": "standard",
            "label": "Standard"
          },
          {
            "value": "colored",
            "label": "Colored"
          },
          {
            "value": "github",
            "label": "GitHub"
          },
          {
            "value": "auto",
            "label": "Auto"
          }
        ],
        "sources": [
          "cli"
        ]
      },
      {
        "id": "strict",
        "label": "Fail on warnings too",
        "type": "boolean",
        "option": [
          "-s",
          "--strict"
        ],
        "sources": [
          "cli"
        ]
      },
      {
        "id": "no_warnings",
        "label": "Errors only",
        "type": "boolean",
        "option": [
          "--no-warnings"
        ],
        "sources": [
          "cli"
        ]
      }
    ],
    "task": [
      {
        "id": "lint",
        "label": "Lint files",
        "fields": [
          "files"
        ],
        "required": [
          "files"
        ]
      },
      {
        "id": "strict",
        "label": "Strict lint (CI)",
        "fields": [
          "files",
          "strict"
        ],
        "required": [
          "files"
        ],
        "set": {
          "strict": [
            true
          ]
        }
      }
    ],
    "group": [
      {
        "id": "basic",
        "label": "Basic",
        "fields": [
          "files",
          "config_file",
          "format",
          "strict",
          "no_warnings"
        ]
      },
      {
        "id": "advanced",
        "label": "Advanced",
        "fields": [
          "config_data"
        ]
      }
    ]
  }
}
