Code Inspections in YAML
This topic lists all GoLand code inspections available in YAML.
You can toggle specific inspections or change their severity level on the Editor | Inspections page of the Settings/Preferences Ctrl+Alt+S.
Inspection | Description | Default Severity |
---|---|---|
Deprecated YAML key | This inspection checks for deprecated keys in YAML files | Weak warning |
Duplicated YAML keys | This inspection detects duplicated keys in YAML files and highlights them in the editor. | Error |
Recursive alias | Alias can't be recursive and used inside data referenced by corresponding anchor | Error |
Unresolved alias | This inspection warns about unresolved aliases in yaml files | Error |
Unused anchor | This inspection highlights unused anchors. | Warning |
Validation by JSON Schema | Validates YAML file against a JSON Schema, if the schema is specified | Warning |