We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Specification
1 parent f91ed36 commit 213efa7Copy full SHA for 213efa7
codacy-plugins-api/src/main/scala/com/codacy/plugins/api/results/Pattern.scala
@@ -35,9 +35,7 @@ object Pattern {
35
scanType: Option[ScanType] = Option.empty,
36
parameters: Set[Parameter.Specification] = Set.empty,
37
languages: Set[Language] = Set.empty,
38
- enabled: Boolean = false) {
39
- require(subcategory.isEmpty || category == Category.Security, "Security is the only category having subcategories")
40
- }
+ enabled: Boolean = false) {}
41
42
type Category = Category.Value
43
object Category extends Enumeration {
0 commit comments