JetBrains Rider 2019.1 Help

Code Inspections in EditorConfig

Inspection

Description

Default Severity

Deprecation of EditorConfig element

Reports deprecated properties.

Warning

Uniqueness of top-level declaration

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

Error

Correctness of root declaration

Reports unexpected top-level declarations.

Error

Emptiness of EditorConfig section

Reports sections which don't have any properties.

Warning

Uniqueness of EditorConfig section

Reports sections which match the same file patterns.

Warning

Redundant pattern enumeration

Reports pattern enumerations that contain only one possible pattern.

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.

Warning

No matching files

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

Warning

Too many wildcards

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

Warning

Empty header

Reports sections which have an empty file wildcard pattern.

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.

Redundancy of pattern enumeration

Reports redundancy in patterns.

Warning

Wildcard redundancy

Reports wildcard patterns that could be safely removed.

Warning

Duplicate letter in char class

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

Warning

Redundant char class

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

Warning

Meaningfulness of EditorConfig option

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

Warning

Uniqueness of occurrence of EditorConfig option

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

Warning

Option redundancy

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

Warning

Correctness of EditorConfig key

Reports unknown property values.

Warning

Correctness of EditorConfig value

Reports any unexpected values.

Error

Uniqueness of value in list

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

Error

Correctness of identifier reference

Reports invalid referenced identifiers.

Error

Unused declaration

Reports unused declarations.

Warning

Missing required declaration

Reports declarations that miss required parts.

Error

List unexpected

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

Error

Unexpected comma

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

Error

Pair unexpected

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

Error

Last modified: 15 May 2019