Code Inspections in CSS
In CSS, ReSharper 2021.1 provides 22 proprietary code inspections, any of which you can disable or change its severity level.
These code inspections help you detect code issues in design time in all open files, and additionally they allow you to find code issues in specific scope.
Configurable CSS inspections are listed below, grouped by their categories.
Common Practices and Code Improvements (1 inspection)This category groups inspections that hunt for medium severity issues that mainly affect code readability.
Potential Code Quality Issues (17 inspections)This category includes inspections that detect critical issues (code smells), mostly with Error or Warning level. This category also includes inspections that ensure localization assistance.
|Cannot resolve file system path
|CSS feature is not supported by a specific browser
|CSS feature requires vendor prefix for a specific browser
|CSS symbol / syntax is not compatible with a specific browser
|CSS symbol is obsolete
|Invalid hexadecimal value of color
|Property does not override vendor-prefixed property
|Requires fallback color
|Syntax is not allowed in specified CSS version
|Two colons expected
|Unknown CSS class
|Unknown CSS symbol
|Unknown custom property
|Unknown vendor-specific extension
|Value is unexpected
|Value should have units