Code Inspections in Web.config
In Web.config, ReSharper 2023.1 provides 13 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 Web.config inspections are listed below, grouped by their categories.
Code Notification (2 inspections)
This category groups code inspections with minor severity levels.
Inspection | |
---|---|
Ignored path | |
Mapped path |
Potential Code Quality Issues (5 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.
Inspection | |
---|---|
Cannot resolve module | |
Cannot resolve symbol | |
Module qualification required | |
Referenced path cannot be found in the website | |
Wrong module |
Redundancies in Code (6 inspections)
Code inspections in this category look for redundancies and dead code, which affect code readability and style, and could be safely removed. Some code redundancies cannot be fixed automatically, and quick-fixes for them are performed in the interactive mode, requiring the user input. But the majority of the redundancies can be fixed without user interaction, using either fix in scope or code cleanup.
Inspection | |
---|---|
Redundant add element | |
Redundant add namespace element | |
Redundant element or attribute because of 'configSource' attribute | |
Redundant location element | |
Redundant remove or clear element | |
Redundant tagPrefix declaration |