-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.editorconfig
More file actions
36 lines (30 loc) · 1.84 KB
/
Copy path.editorconfig
File metadata and controls
36 lines (30 loc) · 1.84 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
# KillerShell's own code. The vendored tree has its own file at third_party\.editorconfig, which
# RAISES the bar for that folder rather than lowering it; this one only records the two decisions
# below. Both are decisions, not oversights - do not "fix" what they turn off.
#
# EditorConfig resolution is nearest-file-wins per key, and third_party\.editorconfig omits
# "root = true" deliberately, so that tree inherits everything here and then overrides what it
# needs. Keep it that way.
root = true
[*.md]
end_of_line = crlf
insert_final_newline = true
[*.cs]
# First-party correctness rules relevant to long-running and disposable work are build warnings.
# Style suggestions retain their normal IDE severity so the release build stays actionable.
dotnet_diagnostic.CA1849.severity = warning
dotnet_diagnostic.CA2000.severity = warning
dotnet_diagnostic.CA2012.severity = warning
dotnet_diagnostic.CA2016.severity = warning
# IDE0130, namespace does not match folder. Controls\ is FLAT and deliberately so: all thirteen
# XAML files there declare x:Class="KillerShell.<Name>", so the flat namespace IS the convention,
# and satisfying the rule would mean rewriting every x:Class plus every reference to them. The
# same applies to Shell\, whose 54 files are partials of ONE MainWindow class sliced across a
# folder. Recorded in code\CLAUDE.md as a decision.
dotnet_diagnostic.IDE0130.severity = none
# IDE1006, naming rule violation on an underscore prefix. Shell\Panes.cs declares _tabs and
# _active as private members that forward to whichever pane has focus. They keep the field
# spelling on purpose: about a hundred call sites across Tabs.cs, Session.cs and Results.cs read
# exactly as they did when these were real fields, which is what made that refactor reviewable.
# The comment above them in Panes.cs says the same thing.
dotnet_diagnostic.IDE1006.severity = none