Skip to content

missing-double-colon (S071)

Fix is always available.

This rule is turned on by default.

What does it do?

Checks for missing double-colon separator in variable declarations.

Why is this bad?

The double-colon separator is required when declaring variables with attributes, so for consistency, all variable declarations should use it.