PhpStorm 2019.2 Help

Code Inspections in YAML



Default Severity

Unresolved alias

This inspection warns about unresolved aliases in yaml files

Error icon Error

Recursive alias

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

Error icon Error

Duplicated YAML keys

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

Error icon Error

Unused anchor

This inspection highlights unused anchors.

Warning icon Warning

Validation by JSON Schema

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

Warning icon Warning

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 icon Weak warning

Last modified: 19 September 2019