|
23 | 23 | - ignore: {name: "Use camelCase"} |
24 | 24 | - ignore: {name: "Use uncurry"} |
25 | 25 | - ignore: {name: "Avoid lambda using `infix`"} |
| 26 | +- ignore: {name: "Replace case with fromMaybe"} |
26 | 27 |
|
27 | 28 | # Gives at least one suggestion we don't like. |
28 | 29 | - ignore: {name: "Use <=<"} |
|
65 | 66 | - Wingman.Types |
66 | 67 | - AutoTupleSpec |
67 | 68 | - name: unsafeInterleaveIO |
68 | | - within: |
| 69 | + within: |
69 | 70 | - Development.IDE.LSP.LanguageServer |
70 | 71 | - {name: unsafeDupablePerformIO, within: []} |
71 | 72 | - name: unsafeCoerce |
72 | | - within: |
| 73 | + within: |
73 | 74 | - Ide.Plugin.Eval.Code |
74 | 75 | - Development.IDE.Core.Compile |
75 | 76 | - Development.IDE.Types.Shake |
|
85 | 86 | - Compat.HieBin |
86 | 87 |
|
87 | 88 | # Partial functions |
88 | | - |
| 89 | + |
89 | 90 | # We need to check fucntions which |
90 | 91 | # are typically exported multiple ways under both names, |
91 | 92 | # see https://github.com/ndmitchell/hlint/issues/1389 |
92 | 93 | - name: [Prelude.head, Data.List.head] |
93 | | - within: |
| 94 | + within: |
94 | 95 | - Main |
95 | 96 | - Experiments |
96 | 97 | - Development.Benchmark.Rules |
|
116 | 117 | - Wingman.Tactics |
117 | 118 |
|
118 | 119 | - name: [Prelude.tail, Data.List.tail] |
119 | | - within: |
| 120 | + within: |
120 | 121 | - Main |
121 | 122 | - Development.Benchmark.Rules |
122 | 123 | - Development.IDE.Plugin.CodeAction |
|
125 | 126 | - UnificationSpec |
126 | 127 |
|
127 | 128 | - name: [Prelude.last, Data.List.last] |
128 | | - within: |
| 129 | + within: |
129 | 130 | - Main |
130 | 131 | - Development.IDE.Plugin.CodeAction |
131 | 132 | - Development.IDE.Plugin.CodeAction.ExactPrint |
|
136 | 137 | - Ide.Plugin.Eval.CodeLens |
137 | 138 |
|
138 | 139 | - name: [Prelude.init, Data.List.init] |
139 | | - within: |
| 140 | + within: |
140 | 141 | - Main |
141 | 142 | - Development.IDE.Spans.Common |
142 | 143 | - Ide.PluginUtils |
|
151 | 152 | within: [] |
152 | 153 |
|
153 | 154 | - name: ["Prelude.!!", "Data.List.!!"] |
154 | | - within: |
| 155 | + within: |
155 | 156 | - Main |
156 | 157 | - Experiments |
157 | 158 | - FunctionalCodeAction |
|
171 | 172 | within: [] |
172 | 173 |
|
173 | 174 | - name: Data.Foldable.foldr1 |
174 | | - within: |
| 175 | + within: |
175 | 176 | - Wingman.Tactics |
176 | 177 |
|
177 | | - - name: Data.Maybe.fromJust |
178 | | - within: |
| 178 | + - name: Data.Maybe.fromJust |
| 179 | + within: |
179 | 180 | - Experiments |
180 | 181 | - Main |
181 | 182 | - MultipleImports |
|
193 | 194 | - Ide.Plugin.Class |
194 | 195 |
|
195 | 196 | - name: "Data.Map.!" |
196 | | - within: |
| 197 | + within: |
197 | 198 | - Wingman.LanguageServer |
198 | 199 |
|
199 | 200 | - name: "Data.IntMap.!" |
|
210 | 211 | # Debug.Trace, because that module also |
211 | 212 | # includes the eventlog tracing functions, |
212 | 213 | # which are legitimate to use. |
213 | | - - name: |
| 214 | + - name: |
214 | 215 | - Debug.Trace.trace |
215 | 216 | - Debug.Trace.traceId |
216 | 217 | - Debug.Trace.traceShow |
|
220 | 221 | - Debug.Trace.traceM |
221 | 222 | - Debug.Trace.traceShowM |
222 | 223 | - Debug.Trace.putTraceMsg |
223 | | - within: |
| 224 | + within: |
224 | 225 | - Development.IDE.Core.Compile |
225 | 226 | - Development.IDE.Graph.Internal.Database |
226 | 227 | - Development.IDE.GHC.Util |
|
0 commit comments