CodeRabbit home page
Search...
⌘K
Ask AI
Sign up
Sign up
Search...
Navigation
YAMLlint
Documentation
Blog
Changelog
Discord
Get started
Introduction
Quickstart
Add CodeRabbit to your repository
Overview
Supported Git platforms
Add organizations
Set permissions
Review pull requests
Overview
Manage code reviews
Generate Code Improvements
Code review troubleshooting
CodeRabbit chat
Analyze & improve your code
Issues
Reports
IDE extensions
Review local changes
Install the VSCode extension
Use the VSCode extension
Use with self-hosted CodeRabbit
Configure the VSCode extension
Uninstall the VSCode extension
Configure
Overview
Organization preferences
Repository preferences
Add a configuration file
Initial configuration guide
Central configuration
Knowledge base
Integrate MCP servers
Review instructions
Username-based PR review control
Linters & security analysis tools
Manage your account
Manage your subscription
Role-based access
Signing up
Best practices
Setup
Code review
Resources
Configuration reference
Code review commands
Tools Reference
YAML template
API reference
Supported tools
Caching
Self-host CodeRabbit
Why CodeRabbit?
FAQs
Early Access Program
On this page
Configuration
Enable YAMLlint
Features
Syntax checks
Cosmetic checks
Configuration File
Links
YAMLlint
YAMLlint is a linter for YAML files.
YAMLlint is a linter for YAML files that checks both for syntax validity and cosmetic problems like line length, trailing spaces, indentation, etc.
Configuration
Enable YAMLlint
Web UI
.coderabbit.yaml
Location
Review > Tools > Enable YAMLlint
Default
true
YAMLlint is a linter for YAML files.
Features
YAMLlint performs several checks:
Syntax checks
YAML validity
Document structure
Cosmetic checks
Line length limits
Trailing whitespace
Indentation consistency
Empty lines
Comments formatting
Configuration File
YAMLlint can be configured using a
.yamllint.yml
or
.yamllint.yaml
configuration file in your repository root. The configuration file allows you to:
Enable/disable specific rules
Customize rule parameters
Ignore certain files or directories
Links
YAMLlint Documentation
Configuration Reference
Was this page helpful?
Yes
No
Assistant
Responses are generated using AI and may contain mistakes.