ReSharper 2017.3 Help

Code Inspections in HTML

In HTML, ReSharper 2017.3 provides two kinds of code inspections: 2 inspections that detect errors such as broken syntax, unresolved symbols, compiler errors, etc. (you cannot configure or disable any of these inspections), and 35 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 HTML inspections are listed below, grouped by their categories.

Code Notification (2 inspections)

This category groups code inspections with minor severity levels.
InspectionDefault Severity
Ignored path Disabled
Mapped path Hint

Common Practices and Code Improvements (9 inspections)

This category groups inspections that hunt for medium severity issues that mainly affect code readability.
InspectionDefault Severity
Important tags or attributes missing (<img> should specify alternative text) Hint
Important tags or attributes missing (empty <title>) Hint
Important tags or attributes missing (missing <body>) Warning
Important tags or attributes missing (missing <head> and <body>) Warning
Important tags or attributes missing (missing <head>) Warning
Important tags or attributes missing (missing <title>) Hint
Obsolete tags and attributes (<center> is obsolete) Warning
Obsolete tags and attributes (attribute 'clear' is obsolete) Warning
Obsolete tags and attributes (attribute 'clear' is obsolete) Warning

Potential Code Quality Issues (24 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.
InspectionDefault Severity
Elements not allowed in context (<dl> contains elements other than <dt> or <dd> or they are unclosed) Hint
Elements not allowed in context (<ol> contains elements other than <li> or <li> is unclosed) Hint
Elements not allowed in context (<ul> contains elements other than <li> or <li> is unclosed) Hint
Html Dead Code Warning
Html Warning Warning
Ids duplication Warning
Not closed tag Error
Obsolete or nonstandard element Warning
Path error Warning
Script tag errors (<script> with both src and content) Error
Script tag errors (<script> with content before included <script>) Hint
Script tag errors (other tags inside <script> - possibly unclosed <script>) Error
Script tag errors (other tags inside <script> - possibly unclosed <script>) Error
Script tag errors (unclosed <script> with other tags inside) Error
Script tag errors (unclosed <script>) Error
Unknown attribute Warning
Unknown attribute value Warning
Unknown event Warning
Unknown html entity Warning
Unknown ID Warning
Unknown tag Warning
Wrong attribute quotes Hint
Wrong closed tag Warning
Wrong self-closed tag Warning
Last modified: 16 April 2018