Commit 6257a18
Fix Detekt Kotlin version compatibility issue
- Downgrade Kotlin from 1.9.25 to 1.9.23 to match Detekt 1.23.6
- Update Detekt configuration to remove deprecated properties:
* Replace ComplexMethod with CyclomaticComplexMethod
* Remove deprecated rules (DataClassContainsFunction, MissingWhenCase, etc.)
* Fix ForbiddenComment configuration (values -> comments)
* Replace deprecated brace rules with current equivalents
* Fix excludedFunctions format from string to array
* Remove formatting section (deprecated configuration)
This resolves the GitHub Actions build failure where detekt was compiled
with a different Kotlin version than the project.
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>1 parent 8dc584f commit 6257a18
2 files changed
Lines changed: 8 additions & 26 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
5 | | - | |
| 4 | + | |
| 5 | + | |
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
| 9 | + | |
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
43 | 43 | | |
44 | 44 | | |
45 | 45 | | |
46 | | - | |
| 46 | + | |
47 | 47 | | |
48 | 48 | | |
49 | 49 | | |
| |||
154 | 154 | | |
155 | 155 | | |
156 | 156 | | |
157 | | - | |
158 | | - | |
159 | | - | |
160 | | - | |
161 | 157 | | |
162 | 158 | | |
163 | 159 | | |
| |||
223 | 219 | | |
224 | 220 | | |
225 | 221 | | |
226 | | - | |
227 | | - | |
228 | 222 | | |
229 | 223 | | |
230 | 224 | | |
| |||
247 | 241 | | |
248 | 242 | | |
249 | 243 | | |
250 | | - | |
251 | | - | |
252 | | - | |
253 | | - | |
254 | 244 | | |
255 | 245 | | |
256 | 246 | | |
| |||
272 | 262 | | |
273 | 263 | | |
274 | 264 | | |
275 | | - | |
276 | | - | |
277 | 265 | | |
278 | 266 | | |
279 | 267 | | |
| |||
288 | 276 | | |
289 | 277 | | |
290 | 278 | | |
291 | | - | |
| 279 | + | |
292 | 280 | | |
293 | 281 | | |
294 | 282 | | |
295 | 283 | | |
296 | | - | |
297 | | - | |
298 | 284 | | |
299 | 285 | | |
300 | 286 | | |
301 | 287 | | |
302 | | - | |
303 | | - | |
304 | | - | |
305 | | - | |
306 | 288 | | |
307 | 289 | | |
308 | 290 | | |
| |||
317 | 299 | | |
318 | 300 | | |
319 | 301 | | |
320 | | - | |
| 302 | + | |
321 | 303 | | |
322 | 304 | | |
323 | 305 | | |
| |||
336 | 318 | | |
337 | 319 | | |
338 | 320 | | |
339 | | - | |
| 321 | + | |
340 | 322 | | |
341 | 323 | | |
342 | 324 | | |
| |||
349 | 331 | | |
350 | 332 | | |
351 | 333 | | |
352 | | - | |
| 334 | + | |
353 | 335 | | |
354 | 336 | | |
355 | 337 | | |
| |||
0 commit comments