- Updated `detekt.yml` to exclude test folders from `EmptyFunctionBlock`, `LargeClass`, and `LongMethod` checks. - Cleanup detekt-baseline files. - Simplified `.idea/detekt.xml`. ## Motivation and Context To reduce linter noise and reduce tension ## How Has This Been Tested? `./gradlew detekt` ## Breaking Changes No ## Types of changes - [x] Build tool/ci update ## Checklist <!-- Go over all the following points, and put an `x` in all the boxes that apply. --> - [x] I have read the [MCP Documentation](https://modelcontextprotocol.io) - [x] My code follows the repository's style guidelines - [x] New and existing tests pass locally - [ ] I have added appropriate error handling - [ ] I have added or updated documentation as needed ## Additional context #567
20 lines
361 B
YAML
20 lines
361 B
YAML
config:
|
|
validation: true
|
|
warningsAsErrors: false
|
|
checkExhaustiveness: false
|
|
|
|
complexity:
|
|
LargeClass:
|
|
excludes: &testFolders
|
|
- '**/test/**'
|
|
- '**/commonTest/**'
|
|
- '**/jvmTest/**'
|
|
- '**/jsTest/**'
|
|
- '**/iosTest/**'
|
|
LongMethod:
|
|
excludes: *testFolders
|
|
|
|
empty-blocks:
|
|
EmptyFunctionBlock:
|
|
excludes: *testFolders
|
|
|