JetBrains Rider 2020.2 Help

Code Inspections in YAML

This topic lists all JetBrains Rider code inspections available in YAML.

You can toggle specific inspections or change their severity level on the Editor | Inspection Settings | Inspection Severity | Other Languages page of the Settings/Preferences Ctrl+Alt+S.

InspectionDescriptionDefault Severity
Deprecated YAML key

This inspection checks for deprecated keys in YAML files
Deprecation is checked only if there exists a JSON schema associated with corresponding YAML file.
Note that deprecation mechanism is not defined in the JSON Schema specification yet, and this inspection uses a non-standard extension 'deprecationMessage'.

Weak Warning Weak warning
Duplicated YAML keys

This inspection detects duplicated keys in YAML files and highlights them in the editor.

Error Error
Recursive alias

Alias can't be recursive and used inside data referenced by corresponding anchor

Error Error
Unresolved alias

This inspection warns about unresolved aliases in yaml files

Error Error
Unused anchor

This inspection highlights unused anchors.

Warning Warning
Validation by JSON Schema

Validates YAML file against a JSON Schema, if the schema is specified

Warning Warning
Last modified: 08 May 2020