Engine/dist/detekt.yml
JeremyStarTM 8393818043
Add FileAccess class with many exceptions
The FileAccess class is an almost 1:1 rewrite of the old FileAccess class from v1-alpha9, just with some method names changed, a set of "verify" methods, no setPosixPermissions method anymore and wrapper exceptions around Java exceptions to avoid direct contact with Java stuff for public API. See the NonKotlinContact annotation for more information.
The old FileAccess class (for reference): 1e978e3146/base/src/main/java/de/staropensource/engine/base/utility/FileAccess.java
2024-12-15 01:15:50 +01:00

48 lines
896 B
YAML

# This configuration file should be used in
# conjunction with detekt's default config.
# Check the "Build rules upon the default
# configuration" setting somewhere in your
# IDE settings or pass the
# '--build-upon-default-config' argument to Detekt.
config:
validation: true
warningsAsErrors: false
console-reports:
active: true
build:
maxIssues: 10
complexity:
TooManyFunctions:
active: false
NestedBlockDepth:
threshold: 6
ComplexCondition:
active: false
naming:
MemberNameEqualsClassName:
active: false
exceptions:
SwallowedException:
active: false
TooGenericExceptionCaught:
active: false
ThrowingExceptionsWithoutMessageOrCause:
active: false
style:
MaxLineLength:
active: false
UnusedPrivateMember:
active: false
UnusedParameter:
active: false
ReturnCount:
active: false
WildcardImport:
active: false