JetBrains Rider 2020.3 Help

Code Inspections in EditorConfig

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

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

InspectionDescriptionDefault Severity
Correctness of EditorConfig key

Reports unknown property values.

Warning Warning
Correctness of EditorConfig value

Reports any unexpected values.

Error Error
Correctness of identifier reference

Reports invalid referenced identifiers.

Error Error
Correctness of root declaration

Reports unexpected top-level declarations.

Error Error
Deprecation of EditorConfig element

Reports deprecated properties.

Warning Warning
Duplicate letter in char class

Reports duplicate characters in the section's file wildcard pattern.

Warning Warning
Emptiness of EditorConfig section

Reports sections which don't have any properties.

Warning Warning
Empty header

Reports sections which have an empty file wildcard pattern.

Error Error
List unexpected

Reports lists of values that can't be used in current context.

Error Error
Meaningfulness of EditorConfig option

Reports properties which don't affect the resulting code style.

Warning Warning
Missing required declaration

Reports declarations that miss required parts.

Error Error
No matching files

Reports sections which don't match any files in the project.

Warning Warning
Option redundancy

Reports options that override other options but have the same properties and values.

Warning Warning
Pair unexpected

Reports pairs of values that can't be used in current context.

Error Error
Partial override

Reports header with glob that has suspicious intersection with one of related globs. Example: [{foo, bar}] and [{foo, bas}] have non-empty intersection and none of them is subcase of the other. This is likely to be a typo.

Weak Warning Weak warning
Redundancy of pattern enumeration

Reports redundancy in patterns.

Warning Warning
Redundant char class

Reports the file wildcard patterns with charclasses which have less than two symbols.

Warning Warning
Redundant pattern enumeration

Reports pattern enumerations that contain only one possible pattern.

Error Error
Space in header

Reports any suspicious spaces in the section's file wildcard pattern. Even though spaces can be used in the wildcard patterns, they are likely to be a typo.

Weak Warning Weak warning
Too many wildcards

Reports sections that contain too many wildcards. They might lead to performance issues.

Weak Warning Weak warning
Unexpected comma

Reports any commas that are not allowed in the current context.

Error Error
Uniqueness of EditorConfig section

Reports sections which match the same file patterns.

Warning Warning
Uniqueness of occurrence of EditorConfig option

Reports properties that disable any other properties declared earlier in the file.

Warning Warning
Uniqueness of top-level declaration

Checks that an EditorConfig file has only one top-level declaration.

Error Error
Uniqueness of value in list

Reports repeated values in the list of the prohibited value repetitions.

Error Error
Unused declaration

Reports unused declarations.

Warning Warning
Wildcard redundancy

Reports wildcard patterns that could be safely removed.

Warning Warning
Last modified: 08 March 2021