Commit 4777a9a
committed
Simplify EditorConfigDefaults loading in KtLintCompat1Dot0Dot0Adapter
The nullability and file content have been checked in EditorConfigDefaultsLoader, seems we have no more need to inspect again.
See https://github.com/pinterest/ktlint/blob/a510eedc69f7431bcd3af2162db8e53a588f4435/ktlint-rule-engine/src/main/kotlin/com/pinterest/ktlint/rule/engine/internal/EditorConfigDefaultsLoader.kt#L34-L421 parent 3308d33 commit 4777a9a
File tree
1 file changed
+1
-7
lines changed- lib/src/compatKtLint1Dot0Dot0/java/com/diffplug/spotless/glue/ktlint/compat
1 file changed
+1
-7
lines changedLines changed: 1 addition & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
18 | | - | |
19 | 18 | | |
20 | 19 | | |
21 | 20 | | |
| |||
93 | 92 | | |
94 | 93 | | |
95 | 94 | | |
96 | | - | |
97 | | - | |
98 | | - | |
99 | | - | |
100 | | - | |
101 | | - | |
| 95 | + | |
102 | 96 | | |
103 | 97 | | |
104 | 98 | | |
| |||
0 commit comments