You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Docs/Configuration.md
+3-2Lines changed: 3 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,8 +7,9 @@ CSharpier has support for a configuration file. You can use any of the following
7
7
- A ```.csharpierrc.json``` or ```.csharpierrc.yaml``` file.
8
8
- A ```.editorconfig``` file. See EditorConfig section below.
9
9
10
-
The configuration file will be resolved starting from the location of the file being formatted, and searching up the file tree until a config file is (or isn’t) found.
11
-
10
+
The configuration file will be resolved based on the location of the file being formatted.
11
+
- If a `.csharpierrc` file exists somewhere at or above the given file, that will be used.
12
+
- Otherwise if an `.editorconfig` file exists somewhere at or above the given file, that will be used. Respecting editorconfig inheritance.
0 commit comments