Code Inspections in Sass/SCSS
This topic lists all JetBrains Rider code inspections available in Sass/SCSS.
You can toggle specific inspections or change their severity level on the Editor | Inspection Settings | Inspection Severity | Other Languages page of the IDE settings Ctrl+Alt+S.
Inspection | Description | Default Severity |
---|---|---|
Missing import | Reports a reference to a variable, mixin, or function that is declared in another file but this file isn't explicitly imported in the current file. Example:
* {
margin: $var-in-other-file;
}
| |
Unresolved mixin | Reports an unresolved Sass/SCSS mixin reference. Example:
* {
@include unknown-mixin;
}
| |
Unresolved placeholder selector | Reports an unresolved Sass/SCSS placeholder selector reference. Example:
* {
@extend %unknown-placeholder-selector;
}
| |
Unresolved variable | Reports an unresolved Sass/SCSS variable reference. Example:
* {
margin: $unknown-var;
}
|
Last modified: 07 April 2022