Skip to main content

no-tab-indentation

Overview

This rule belongs to the yaml-syntax-validation ruleset and states that:

A YAML token must be indented with spaces. Tab indentation using is not allowed and should be replaced with spaces.

PropertyValue
EnabledYes
Maximum SeverityBlocking
MessageWhile scanning a mapping, found invalid tab as indentation.
CodeYAMLSYNTAX_V101
TypeValidation
Rule SystemSyntax
Broad CategoryIndentation
Tagsyaml data syntax preliminary checks validation yaml indentation token tabs spaces

Suggested Fixes

  • Ensure that you are not using tabs for indentation.
  • Replace all tabs with spaces as YAML does not allow tab indentation.

For More Information