Skip to content

Commit cb541bc

Browse files
hahn-kevclaude
andcommitted
Consolidate src/.editorconfig into root
Remove the redundant src/.editorconfig. Its two meaningful rules are migrated to the root config: - VSTHRD200 severity = none (don't require Async suffix on async methods) - Verify snapshot files (*.received/*.verified) excluded from reformatting The duplicate indent_size/charset rules are dropped (already set globally). Fixed the stray quotes on the Verify charset value (utf-8-bom). Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
1 parent a50dcd3 commit cb541bc

2 files changed

Lines changed: 14 additions & 16 deletions

File tree

.editorconfig

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,16 @@ indent_size = 2
1515
[*.{md,markdown}]
1616
trim_trailing_whitespace = false
1717

18+
# Verify snapshot files — must not be reformatted or snapshot tests break.
19+
[*.{received,verified}.{txt,xml,json}]
20+
charset = utf-8-bom
21+
end_of_line = lf
22+
indent_size = unset
23+
indent_style = unset
24+
insert_final_newline = false
25+
tab_width = unset
26+
trim_trailing_whitespace = false
27+
1828
# Vendored third-party code (C# port of Yjs) — excluded from formatting/analysis.
1929
# dotnet format skips files marked as generated.
2030
[src/Ycs/**.cs]
@@ -79,3 +89,7 @@ csharp_space_after_cast = false
7989
csharp_space_after_keywords_in_control_flow_statements = true
8090
csharp_space_between_method_declaration_parameter_list_parentheses = false
8191
csharp_space_between_method_call_parameter_list_parentheses = false
92+
93+
# Analyzer diagnostics
94+
# VSTHRD200: do not require the "Async" suffix on async methods
95+
dotnet_diagnostic.VSTHRD200.severity = none

src/.editorconfig

Lines changed: 0 additions & 16 deletions
This file was deleted.

0 commit comments

Comments
 (0)