You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
|`discardedMonixTask`| warning | Makes sure that expressions evaluating to Monix `Task`s are not accidentally discarded by conversion to `Unit`|
31
-
|`throwableObjects`| warning | Makes sure that objects are never used as `Throwable`s (unless they have stack traces disabled) |
32
-
|`constantDeclarations`| off | Checks if constants are always declared as `final val`s with `UpperCamelCase` and no explicit type annotation for literal values |
33
-
|`basePackage`| warning | Checks if all sources are within the specified base package |
34
-
|`catchThrowable`| warning | Makes sure that code does not catch `Throwable` directly, which can hide critical errors like `OutOfMemoryError`|
35
-
|`finalValueClasses`| warning | Makes sure that value classes are marked final. |
36
-
|`finalCaseClasses`| warning | Makes sure that case classes are marked final. Does not affect inner classes due to SI-4440 |
37
-
|`implicitParamDefaults`| warning | Makes sure that default values are not defined for implicit parameters |
38
-
|`implicitValueClasses`| warning | Makes sure that implicit classes extend `AnyVal` (when applicable). Nested classes check can be enabled by passing the `true` argument. |
39
-
|`implicitFunctionParams`| warning | Makes sure that implicit parameters are not function types or partial functions |
|`discardedMonixTask`| warning | Makes sure that expressions evaluating to Monix `Task`s are not accidentally discarded by conversion to `Unit`|
31
+
|`throwableObjects`| warning | Makes sure that objects are never used as `Throwable`s (unless they have stack traces disabled) |
32
+
|`constantDeclarations`| off | Checks if constants are always declared as `final val`s with `UpperCamelCase` and no explicit type annotation for literal values |
33
+
|`basePackage`| warning | Checks if all sources are within the specified base package |
34
+
|`catchThrowable`| warning | Makes sure that code does not catch `Throwable` directly, which can hide critical errors like `OutOfMemoryError`|
35
+
|`finalValueClasses`| warning | Makes sure that value classes are marked final. |
36
+
|`finalCaseClasses`| warning | Makes sure that case classes are marked final. Does not affect inner classes due to SI-4440 |
37
+
|`implicitParamDefaults`| warning | Makes sure that default values are not defined for implicit parameters |
38
+
|`implicitValueClasses`| warning | Makes sure that implicit classes extend `AnyVal` (when applicable). Available options: `top-level-only` (default) - only checks implicit classes in top-level objects; `all` - checks both top-level and nested implicit classes.|
39
+
|`implicitFunctionParams`| warning | Makes sure that implicit parameters are not function types or partial functions |
40
40
41
41
Rules may be enabled and disabled in `build.sbt` with Scala compiler options:
0 commit comments