root-in-section
What it does
Section titled “What it does”Reports a root property inside a section. root stops the search for parent .editorconfig files only as a pair before the first [section]; inside a section editors ignore it. No fix: moving it into the preamble is the author’s call.
Why it matters
Section titled “Why it matters”The author meant to stop the search at this file, but it does nothing, so settings of the parent directories keep applying, and the files are formatted differently from what the file says.
To fix, put root = true above the first section.
Example
Section titled “Example”...
[*.cs]indent_size = 4Root = true[*.vb]...Configuration
Section titled “Configuration”editorconfig: lint: rules: root-in-section: warn # off, warn (default), errorSuppress one line with sudsy-disable-next-line root-in-section in a comment of the file’s language.