- 
          
 - 
                Notifications
    
You must be signed in to change notification settings  - Fork 131
 
Closed
Labels
type:bugSomething isn't workingSomething isn't working
Milestone
Description
In the root directory I have .csharperrc.yaml which specifies the line length as 120.
Also, in the root directory I have .editorconfig which doesn't specify the line length.
In subdirectory A I have an .editorconfig which doesn't specify the line length either. (Note it also does not have root = true)
When I run dotnet csharpier . in the root directory, all the files in A get formatted with line length 100 (the default).
I expected the line length in the root .csharpierrc.yaml to be used, but it only does this when the A/.editorconfig doesn't exist.
I've now added max_line_length = 120 to the root .editorconfig and it works, but this was a surprise when upgrading to 0.26.
Metadata
Metadata
Assignees
Labels
type:bugSomething isn't workingSomething isn't working