JetBrains Rider 2023.2 Help

Code Inspections in Less

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

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

Inspection

Description

Default Severity

Missing import

Reports a reference to a variable or mixin that is declared in another file, which is not explicitly imported in the current file.

Example:

* { margin: @var-in-other-file; }

Weak Warning Weak warning

Unresolved mixin

Reports a reference to a Less mixin that is not resolved.

Example:

* { .unknown-mixin(); }

Warning Warning

Unresolved variable

Reports a reference to a Less variable that is not resolved.

Example:

* { margin: @unknown-var; }

Warning Warning

Last modified: 13 May 2022