chore: relax Detekt rules for tests (#582)
- 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
This commit is contained in:
parent
a38818018a
commit
3e7ea39bf7
1 changed files with 16 additions and 35 deletions
|
|
@ -3,3 +3,18 @@ config:
|
|||
warningsAsErrors: false
|
||||
checkExhaustiveness: false
|
||||
|
||||
complexity:
|
||||
LargeClass:
|
||||
excludes: &testFolders
|
||||
- '**/test/**'
|
||||
- '**/commonTest/**'
|
||||
- '**/jvmTest/**'
|
||||
- '**/jsTest/**'
|
||||
- '**/iosTest/**'
|
||||
LongMethod:
|
||||
excludes: *testFolders
|
||||
|
||||
empty-blocks:
|
||||
EmptyFunctionBlock:
|
||||
excludes: *testFolders
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue