Skip to main content

MixedIndentationSniff

DocbookCS.MixedIndentation

Detects mixed indentation: spaces followed by tabs, or tabs followed by spaces, at the start of a line. Each violation is reported per line.

Auto-fixable

This sniff ships a fixer — run with --fix to replace the tabs in the affected indentation with spaces automatically.

Properties

PropertyTypeDefaultDescription
severitystringerrorOverride the violation severity. Accepted values: error, warning.