It is in the comments rule set. detekt does not run it by default.
- Code
AbsentOrWrongFileLicense
May be refactored to a concrete class. It is in the style rule set. detekt runs it by default since 1.2.0. It needs type resolution.
- Code
AbstractClassCanBeConcreteClass
May be refactored to an interface. It is in the style rule set. detekt runs it by default since 1.23.0. It needs type resolution.
- Code
AbstractClassCanBeInterface
It is in the standard-library rule set. detekt does not run it by default.
- Code
AlsoCouldBeApply
It is in the standard-library rule set. detekt runs it by default since 1.2.0. It needs type resolution.
- Code
ArrayPrimitive
It is in the style rule set. detekt does not run it by default. It needs type resolution.
- Code
AvoidDollarLiteralInterpolation
It is in the potential-bugs rule set. detekt runs it by default since 1.21.0. It needs type resolution.
- Code
AvoidReferentialEquality
It is in the naming rule set. detekt does not run it by default. It needs type resolution.
- Code
BooleanPropertyNaming
It is in the style rule set. detekt does not run it by default.
- Code
BracesOnIfStatements
It is in the style rule set. detekt does not run it by default.
- Code
BracesOnWhenStatements
It is in the style rule set. detekt does not run it by default. It needs type resolution.
- Code
CanBeNonNullable
It is in the style rule set. detekt does not run it by default.
- Code
CascadingCallWrapping
Consider using two assertions, null assertions and type cast. It is in the potential-bugs rule set. detekt does not run it by default. It needs type resolution.
- Code
CastNullableToNonNullableType
It is in the potential-bugs rule set. detekt does not run it by default. It needs type resolution.
- Code
CastToNullableType
It is in the standard-library rule set. detekt runs it by default since 2.0.0. It needs type resolution.
- Code
CharArrayToStringCall
It is in the naming rule set. detekt runs it by default since 1.0.0.
- Code
ClassNaming
It is in the style rule set. detekt does not run it by default.
- Code
ClassOrdering
It is in the complexity rule set. detekt does not run it by default.
- Code
CognitiveComplexMethod
These statements can be merged to improve readability. It is in the style rule set. detekt does not run it by default.
- Code
CollapsibleIfStatements
It is in the complexity rule set. detekt runs it by default since 1.0.0.
- Code
ComplexCondition
Large classes tend to handle many things at once. An interface should have one responsibility. It is in the complexity rule set. detekt does not run it by default.
- Code
ComplexInterface
It is in the naming rule set. detekt runs it by default since 1.0.0.
- Code
ConstructorParameterNaming
You should use runTest to avoid altering test results. It is in the coroutines rule set. detekt does not run it by default. It needs type resolution.
- Code
CoroutineLaunchedInTestWithoutRunTest
It is in the standard-library rule set. detekt does not run it by default. It needs type resolution.
- Code
CouldBeSequence
It is in the complexity rule set. detekt runs it by default since 1.0.0.
- Code
CyclomaticComplexMethod
It is in the style rule set. detekt does not run it by default.
- Code
DataClassContainsFunctions
It is in the style rule set. detekt does not run it by default.
- Code
DataClassShouldBeImmutable
Use the @Deprecated annotation instead. It is in the comments rule set. detekt does not run it by default.
- Code
DeprecatedBlockTag
It is in the potential-bugs rule set. detekt does not run it by default. It needs type resolution.
- Code
Deprecation
It is in the style rule set. detekt runs it by default since 1.21.0.
- Code
DestructuringDeclarationWithTooManyEntries
Prefer giving the function an expressive name. Split it up in smaller, self-explaining functions if necessary. It is in the comments rule set. detekt does not run it by default.
- Code
DocumentationOverPrivateFunction
It is in the comments rule set. detekt does not run it by default.
- Code
DocumentationOverPrivateProperty
It is in the standard-library rule set. detekt does not run it by default. It needs type resolution.
- Code
DontDowncastCollectionTypes
Consider using val or immutable collection or value types. It is in the standard-library rule set. detekt runs it by default since 1.21.0. It needs type resolution.
- Code
DoubleMutabilityForCollection
It is in the style rule set. detekt does not run it by default. It needs type resolution.
- Code
DoubleNegativeExpression
This is more readable when rewritten using a positive form of the function (like takeIf). It is in the style rule set. detekt does not run it by default.
- Code
DoubleNegativeLambda
It is in the potential-bugs rule set. detekt does not run it by default. It needs type resolution.
- Code
ElseCaseInsteadOfExhaustiveWhen
It is in the comments rule set. detekt does not run it by default.
- Code
EndOfSentenceFormat
It is in the naming rule set. detekt runs it by default since 1.0.0.
- Code
EnumNaming
It does not follow the contract of this method. Consider a good default implementation (e.g. this == other). It is in the potential-bugs rule set. detekt runs it by default since 1.2.0.
- Code
EqualsAlwaysReturnsTrueOrFalse
Consider using == to compare to null. It is in the style rule set. detekt runs it by default since 1.2.0.
- Code
EqualsNullCall
All hash-based collections depend on objects meeting the equals-contract. Two equal objects must produce the same hashcode. It is in the potential-bugs rule set. detekt runs it by default since 1.0.0.
- Code
EqualsWithHashCodeExist
It is in the potential-bugs rule set. detekt does not run it by default.
- Code
EqualsWithHashCodeUseSameFields
Use error(throwable.message ?: "No error message provided") instead. It is in the exceptions rule set. detekt runs it by default since 2.0.0. It needs type resolution.
- Code
ErrorUsageWithThrowable
This can cause weird behavior. It is in the exceptions rule set. detekt runs it by default since 1.16.0.
- Code
ExceptionRaisedInUnexpectedLocation
Throw an exception instead. It is in the potential-bugs rule set. detekt does not run it by default. It needs type resolution.
- Code
ExitOutsideMain
It is in the style rule set. detekt runs it by default since 2.0.0. It needs type resolution.
- Code
ExplicitCollectionElementAccessMethod
If you face memory issues, try tuning the JVM options instead of relying on code itself. It is in the potential-bugs rule set. detekt runs it by default since 1.0.0.
- Code
ExplicitGarbageCollectionCall
It is in the style rule set. detekt runs it by default since 1.21.0.
- Code
ExplicitItLambdaMultipleParameters
It is in the style rule set. detekt runs it by default since 1.21.0.
- Code
ExplicitItLambdaParameter
It is in the style rule set. detekt does not run it by default.
- Code
ExpressionBodySyntax
It is in the style rule set. detekt does not run it by default. It needs type resolution.
- Code
ForbiddenAnnotation
It is in the naming rule set. detekt does not run it by default.
- Code
ForbiddenClassName
A forbidden import could be an import for an unstable / experimental api and hence you might want to mark it as forbidden in order to get warned about the usage. It is in the style rule set. detekt does not run it by default.
- Code
ForbiddenImport
A forbidden method could be an invocation of an unstable / experimental method and hence you might want to mark it as forbidden in order to get warned about the usage. It is in the style rule set. detekt does not run it by default. It needs type resolution.
- Code
ForbiddenMethodCall
It is in the style rule set. detekt does not run it by default. It needs type resolution.
- Code
ForbiddenNamedParam
It is in the style rule set. detekt does not run it by default. It needs type resolution.
- Code
ForbiddenOptIn
Extending a forbidden class could indicate a violation of an architecture decision of your project. It is in the style rule set. detekt does not run it by default. It needs type resolution.
- Code
ForbiddenSuperclass
It is in the style rule set. detekt does not run it by default.
- Code
ForbiddenSuppress
It is in the style rule set. detekt runs it by default since 1.21.0. It needs type resolution.
- Code
ForbiddenVoid
Prefer using simple for loops. It is in the standard-library rule set. detekt runs it by default since 1.0.0.
- Code
ForEachOnRange
It is in the naming rule set. detekt does not run it by default.
- Code
FunctionNameMaxLength
It is in the naming rule set. detekt does not run it by default.
- Code
FunctionNameMinLength
It is in the naming rule set. detekt runs it by default since 1.0.0.
- Code
FunctionNaming
Consider declaring a constant instead. It is in the style rule set. detekt runs it by default since 1.2.0.
- Code
FunctionOnlyReturningConstant
It is in the naming rule set. detekt runs it by default since 1.0.0.
- Code
FunctionParameterNaming
It is in the coroutines rule set. detekt does not run it by default.
- Code
GlobalCoroutineUsage
It is in the potential-bugs rule set. detekt runs it by default since 1.21.0. It needs type resolution.
- Code
HasPlatformType
It is in the potential-bugs rule set. detekt does not run it by default. It needs type resolution.
- Code
IgnoredJavaDefaultMethod
It is in the potential-bugs rule set. detekt runs it by default since 1.21.0. It needs type resolution.
- Code
IgnoredReturnValue
Consider using explicit locale. It is in the potential-bugs rule set. detekt runs it by default since 1.16.0. It needs type resolution.
- Code
ImplicitDefaultLocale
Changing the type of the expression accidentally, changes the function return type. This may lead to backward incompatibility. It is in the potential-bugs rule set. detekt does not run it by default. It needs type resolution.
- Code
ImplicitUnitReturnType
Use dependency injection for dispatchers to make testing easier. It is in the coroutines rule set. detekt runs it by default since 1.21.0. It needs type resolution.
- Code
InjectDispatcher
It is in the exceptions rule set. detekt runs it by default since 1.21.0. It needs type resolution.
- Code
InstanceOfCheckForException
It is in the naming rule set. detekt runs it by default since 1.21.0.
- Code
InvalidPackageDeclaration
It is in the potential-bugs rule set. detekt runs it by default since 1.2.0.
- Code
InvalidRange
The state of the iterator should not be changed inside the hasNext() method. The hasNext() method is not supposed to have any side effects. It is in the standard-library rule set. detekt runs it by default since 1.2.0.
- Code
IteratorHasNextCallsNextMethod
It is in the standard-library rule set. detekt runs it by default since 1.2.0.
- Code
IteratorNotThrowingNoSuchElementException
It is in the comments rule set. detekt does not run it by default.
- Code
KDocReferencesNonPublicProperty
It is in the complexity rule set. detekt does not run it by default.
- Code
LabeledExpression
It is in the naming rule set. detekt does not run it by default.
- Code
LambdaParameterNaming
Large classes tend to handle many things at once. Split up large classes into smaller classes that are easier to understand. It is in the complexity rule set. detekt runs it by default since 1.0.0.
- Code
LargeClass
Using lateinit for property initialization is error prone, try using constructor injection or delegation. It is in the potential-bugs rule set. detekt does not run it by default.
- Code
LateinitUsage
Long methods tend to handle many things at once. Prefer smaller methods to make them easier to understand. It is in the complexity rule set. detekt runs it by default since 1.0.0.
- Code
LongMethod
Long parameter lists are often used to control complex algorithms and violate the Single Responsibility Principle. Prefer functions with short parameter lists. It is in the complexity rule set. detekt runs it by default since 1.0.0. It needs type resolution.
- Code
LongParameterList
The code should be refactored to increase readability. It is in the style rule set. detekt runs it by default since 1.2.0.
- Code
LoopWithTooManyJumpStatements
Magic number is a numeric literal that is not defined as a constant and hence it's unclear what the purpose of this number is. It's better to declare such numbers as constants and give them a proper name. It is in the style rule set. detekt runs it by default since 1.0.0.
- Code
MagicNumber
These should be added to improve readability. It is in the style rule set. detekt does not run it by default.
- Code
MandatoryBracesLoops
Consider usage of map.getValue(), map.getOrDefault() or map.getOrElse() instead. It is in the standard-library rule set. detekt runs it by default since 1.21.0. It needs type resolution.
- Code
MapGetWithNotNullAssertionOperator
It is in the naming rule set. detekt runs it by default since 1.0.0.
- Code
MatchingDeclarationName
It is in the style rule set. detekt does not run it by default. It needs type resolution.
- Code
MaxChainedCallsOnSameLine
It is in the style rule set. detekt runs it by default since 1.0.0.
- Code
MaxLineLength
It is in the style rule set. detekt runs it by default since 1.2.0.
- Code
MayBeConstant
It is in the naming rule set. detekt runs it by default since 1.2.0. It needs type resolution.
- Code
MemberNameEqualsClassName
Furthermore, these methods are tightly coupled. Refactor these methods and try to use optional parameters. It is in the complexity rule set. detekt does not run it by default.
- Code
MethodOverloading
It is in the potential-bugs rule set. detekt does not run it by default.
- Code
MissingPackageDeclaration
Avoid instance fields, provide a public constructor taking only a message, a cause, both or no arguments, or implement kotlin.coroutines.debug.StackTraceRecoverable. It is in the coroutines rule set. detekt does not run it by default. It needs type resolution.
- Code
MissingStackTraceRecoverable
It is in the potential-bugs rule set. detekt runs it by default since 2.0.0. It needs type resolution.
- Code
MissingSuperCall
Using Closeable without use can be problematic as closing Closeable may throw exception. It is in the standard-library rule set. detekt does not run it by default. It needs type resolution.
- Code
MissingUseCall
Consider to reorder these modifiers. It is in the style rule set. detekt runs it by default since 1.0.0.
- Code
ModifierOrder
It is in the style rule set. detekt does not run it by default. It needs type resolution.
- Code
MultilineLambdaItParameter
It is in the standard-library rule set. detekt does not run it by default.
- Code
MultilineRawStringIndentation
It is in the complexity rule set. detekt does not run it by default. It needs type resolution.
- Code
NamedArguments
Prefer extracting code to make it easier to understand. It is in the complexity rule set. detekt runs it by default since 1.0.0.
- Code
NestedBlockDepth
It is in the style rule set. detekt runs it by default since 1.16.0.
- Code
NestedClassesVisibility
It is in the standard-library rule set. detekt does not run it by default. It needs type resolution.
- Code
NestedScopeFunctions
It is in the style rule set. detekt runs it by default since 1.0.0.
- Code
NewLineAtEndOfFile
It is in the naming rule set. detekt runs it by default since 1.21.0. It needs type resolution.
- Code
NoNameShadowing
It is in the naming rule set. detekt does not run it by default. It needs type resolution.
- Code
NonBooleanPropertyPrefixedWithIs
It is in the style rule set. detekt does not run it by default.
- Code
NoTabs
This defers the development of the functionality of this function. Hence, the NotImplementedDeclaration should only serve as a temporary declaration. It is in the exceptions rule set. detekt does not run it by default.
- Code
NotImplementedDeclaration
It is in the style rule set. detekt does not run it by default. It needs type resolution.
- Code
NullableBooleanCheck
It is in the potential-bugs rule set. detekt does not run it by default. It needs type resolution.
- Code
NullableToStringCall
It is in the potential-bugs rule set. detekt does not run it by default. It needs type resolution.
- Code
NullCheckOnMutableProperty
Throwables are stateful and should be instantiated only when needed for when a specific error occurs. An object, being a singleton, that extends any type of Throwable consequently introduces a global singleton exception whose instance may be inadvertently reused from multiple places, thus introducing shared mutable state. It is in the exceptions rule set. detekt runs it by default since 2.0.0. It needs type resolution.
- Code
ObjectExtendsThrowable
It is in the style rule set. detekt runs it by default since 1.21.0. It needs type resolution.
- Code
ObjectLiteralToLambda
It is in the naming rule set. detekt runs it by default since 1.0.0.
- Code
ObjectPropertyNaming
It is in the style rule set. detekt does not run it by default.
- Code
OneTopLevelClassOrObjectPerFile
This abstract modifier is unnecessary and thus can be removed. It is in the style rule set. detekt runs it by default since 1.0.0.
- Code
OptionalAbstractKeyword
It is in the style rule set. detekt does not run it by default. It needs type resolution.
- Code
OptionalUnit
It is in the comments rule set. detekt does not run it by default.
- Code
OutdatedDocumentation
It is in the naming rule set. detekt runs it by default since 1.0.0.
- Code
PackageNaming
These debug statements should be removed or replaced with a logger. It is in the exceptions rule set. detekt runs it by default since 1.16.0.
- Code
PrintStackTrace
It is in the potential-bugs rule set. detekt does not run it by default. It needs type resolution.
- Code
PropertyUsedBeforeDeclaration
Consider using private or internal as modifier. It is in the style rule set. detekt runs it by default since 1.2.0.
- Code
ProtectedMemberInFinalClass
It is in the style rule set. detekt does not run it by default.
- Code
RangeUntilInsteadOfRangeTo
It is in the style rule set. detekt runs it by default since 2.0.0.
- Code
RedundantConstructorKeyword
It is in the style rule set. detekt does not run it by default. It needs type resolution.
- Code
RedundantExplicitType
It is in the standard-library rule set. detekt runs it by default since 1.21.0. It needs type resolution.
- Code
RedundantHigherOrderMapUsage
It is in the coroutines rule set. detekt runs it by default since 1.21.0. It needs type resolution.
- Code
RedundantSuspendModifier
It is in the style rule set. detekt does not run it by default.
- Code
RedundantVisibilityModifier
It is in the standard-library rule set. detekt does not run it by default. It needs type resolution.
- Code
ReplaceSafeCallChainWithRun
It is in the exceptions rule set. detekt runs it by default since 1.16.0.
- Code
RethrowCaughtException
It is in the style rule set. detekt runs it by default since 1.0.0.
- Code
ReturnCount
This can discard exceptions. It is in the exceptions rule set. detekt runs it by default since 1.16.0. It needs type resolution.
- Code
ReturnFromFinally
It is in the style rule set. detekt runs it by default since 1.0.0.
- Code
SafeCast
The serialVersionUID field should be a private constant long value inside a companion object. It is in the style rule set. detekt runs it by default since 1.16.0.
- Code
SerialVersionUIDInSerializableClass
It is in the coroutines rule set. detekt runs it by default since 1.21.0. It needs type resolution.
- Code
SleepInsteadOfDelay
It is in the style rule set. detekt does not run it by default.
- Code
SpacingAfterPackageAndImports
This may result in a performance penalty. It is in the performance rule set. detekt runs it by default since 1.0.0. It needs type resolution.
- Code
SpreadOperator
Prefer extracting the string literal into a property or constant. It is in the complexity rule set. detekt does not run it by default.
- Code
StringLiteralDuplication
It is in the style rule set. detekt runs it by default since 2.0.0.
- Code
StringShouldBeRawString
It is in the coroutines rule set. detekt does not run it by default. It needs type resolution.
- Code
SuspendFunInFinallySection
You should use suspend functions without the receiver or use plain functions and use coroutineScope { } instead. It is in the coroutines rule set. detekt does not run it by default. It needs type resolution.
- Code
SuspendFunWithCoroutineScopeReceiver
Flows are cold streams and invoking a function that returns one should not produce any side effects. It is in the coroutines rule set. detekt runs it by default since 1.21.0. It needs type resolution.
- Code
SuspendFunWithFlowReturnType
The original exception could be lost. It is in the exceptions rule set. detekt runs it by default since 1.16.0.
- Code
SwallowedException
This can discard exceptions and is confusing. It is in the exceptions rule set. detekt runs it by default since 1.16.0.
- Code
ThrowingExceptionFromFinally
It is in the exceptions rule set. detekt does not run it by default.
- Code
ThrowingExceptionInMain
Instead one of the constructor overloads should be called. This allows to provide more meaningful exceptions. It is in the exceptions rule set. detekt runs it by default since 1.16.0.
- Code
ThrowingExceptionsWithoutMessageOrCause
It is in the exceptions rule set. detekt runs it by default since 1.16.0.
- Code
ThrowingNewInstanceOfSameException
It is in the style rule set. detekt runs it by default since 1.0.0.
- Code
ThrowsCount
Prefer catching specific exceptions to the case that is currently handled. It is in the exceptions rule set. detekt runs it by default since 1.0.0.
- Code
TooGenericExceptionCaught
Prefer throwing project specific exceptions to handle error cases. It is in the exceptions rule set. detekt runs it by default since 1.0.0.
- Code
TooGenericExceptionThrown
Maybe the file/class/object/interface wants to manage too many things at once. Extract functionality which clearly belongs together. It is in the complexity rule set. detekt runs it by default since 1.0.0.
- Code
TooManyFunctions
It is in the naming rule set. detekt runs it by default since 1.0.0.
- Code
TopLevelPropertyNaming
It is in the style rule set. detekt does not run it by default.
- Code
TrailingWhitespace
It is in the standard-library rule set. detekt does not run it by default.
- Code
TrimMultilineRawString
The loop itself is only executed once. It is in the potential-bugs rule set. detekt does not run it by default.
- Code
UnconditionalJumpStatementInLoop
Numeric literals should be underscore separated to increase readability. It is in the style rule set. detekt does not run it by default.
- Code
UnderscoresInNumericLiterals
It is in the comments rule set. detekt does not run it by default.
- Code
UndocumentedPublicClass
It is in the comments rule set. detekt does not run it by default.
- Code
UndocumentedPublicFunction
It is in the comments rule set. detekt does not run it by default.
- Code
UndocumentedPublicProperty
It is in the potential-bugs rule set. detekt does not run it by default. It needs type resolution.
- Code
UnnamedParameterUse
It is in the standard-library rule set. detekt does not run it by default. It needs type resolution.
- Code
UnnecessaryAny
It is in the standard-library rule set. detekt runs it by default since 1.16.0. It needs type resolution.
- Code
UnnecessaryApply
It is in the style rule set. detekt does not run it by default.
- Code
UnnecessaryBackticks
It is in the style rule set. detekt runs it by default since 2.0.0. It needs type resolution.
- Code
UnnecessaryBracesAroundTrailingLambda
Check nullable values before later calls. It is in the style rule set. detekt does not run it by default. It needs type resolution.
- Code
UnnecessaryChainedSafeCall
It is in the style rule set. detekt does not run it by default. It needs type resolution.
- Code
UnnecessaryCompanionObjectAccess
It is in the standard-library rule set. detekt runs it by default since 1.21.0. It needs type resolution.
- Code
UnnecessaryFilter
Use imports instead. It is in the style rule set. detekt does not run it by default. It needs type resolution.
- Code
UnnecessaryFullyQualifiedName
It is in the style rule set. detekt runs it by default since 1.2.0.
- Code
UnnecessaryInheritance
It is in the performance rule set. detekt does not run it by default.
- Code
UnnecessaryInitOnArray
It is in the style rule set. detekt does not run it by default. It needs type resolution.
- Code
UnnecessaryInnerClass
It is in the standard-library rule set. detekt does not run it by default. It needs type resolution.
- Code
UnnecessaryLet
It is in the potential-bugs rule set. detekt does not run it by default. It needs type resolution.
- Code
UnnecessaryNotNullCheck
It is in the potential-bugs rule set. detekt runs it by default since 1.16.0. It needs type resolution.
- Code
UnnecessaryNotNullOperator
It is in the style rule set. detekt does not run it by default.
- Code
UnnecessaryParentheses
It is in the performance rule set. detekt does not run it by default.
- Code
UnnecessaryPartOfBinaryExpression
It is in the standard-library rule set. detekt does not run it by default. It needs type resolution.
- Code
UnnecessaryReversed
It is in the potential-bugs rule set. detekt runs it by default since 1.16.0. It needs type resolution.
- Code
UnnecessarySafeCall
It is in the performance rule set. detekt runs it by default since 1.0.0.
- Code
UnnecessaryTemporaryInstantiation
Consider using type checking. It is in the performance rule set. detekt does not run it by default.
- Code
UnnecessaryTypeCasting
It is in the potential-bugs rule set. detekt runs it by default since 1.21.0. It needs type resolution.
- Code
UnreachableCatchBlock
This code should be removed. It is in the potential-bugs rule set. detekt runs it by default since 1.0.0. It needs type resolution.
- Code
UnreachableCode
These calls will throw a NullPointerException in case the nullable value is null. It is in the potential-bugs rule set. detekt runs it by default since 1.2.0. It needs type resolution.
- Code
UnsafeCallOnNullableType
It is in the potential-bugs rule set. detekt runs it by default since 1.16.0. It needs type resolution.
- Code
UnsafeCast
It is in the style rule set. detekt runs it by default since 2.0.0. It needs type resolution.
- Code
UnusedImport
It is in the style rule set. detekt runs it by default since 1.23.0. It needs type resolution.
- Code
UnusedParameter
It is in the style rule set. detekt runs it by default since 1.2.0.
- Code
UnusedPrivateClass
It is in the style rule set. detekt runs it by default since 1.16.0. It needs type resolution.
- Code
UnusedPrivateFunction
It is in the style rule set. detekt runs it by default since 1.23.0. It needs type resolution.
- Code
UnusedPrivateProperty
It is in the potential-bugs rule set. detekt runs it by default since 1.21.0. It needs type resolution.
- Code
UnusedUnaryOperator
It is in the style rule set. detekt runs it by default since 2.0.0. It needs type resolution.
- Code
UnusedVariable
It is in the standard-library rule set. detekt runs it by default since 1.21.0. It needs type resolution.
- Code
UseAnyOrNoneInsteadOfFind
It is in the style rule set. detekt runs it by default since 1.21.0.
- Code
UseArrayLiteralsInAnnotations
It is in the standard-library rule set. detekt runs it by default since 1.21.0. It needs type resolution.
- Code
UseCheckNotNull
It is in the standard-library rule set. detekt runs it by default since 1.21.0. It needs type resolution.
- Code
UseCheckOrError
It is in the style rule set. detekt does not run it by default. It needs type resolution.
- Code
UseContextSensitiveResolution