Skip to content

Commit 5c621be

Browse files
committed
Disable Library Manager-specific checks for subprojects
Library Manager-specific checks are irrelevant for platform bundled libraries, and so should be skipped for those projects.
1 parent 92f626f commit 5c621be

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Diff for: internal/rule/ruleconfiguration/ruleconfiguration.go

+3-3
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ var configurations = []Type{
107107
},
108108
{
109109
ProjectType: projecttype.Library,
110-
SuperprojectType: projecttype.All,
110+
SuperprojectType: projecttype.Library,
111111
Category: "structure",
112112
Subcategory: "miscellaneous",
113113
ID: "LS004",
@@ -155,7 +155,7 @@ var configurations = []Type{
155155
},
156156
{
157157
ProjectType: projecttype.Library,
158-
SuperprojectType: projecttype.All,
158+
SuperprojectType: projecttype.Library,
159159
Category: "structure",
160160
Subcategory: "miscellaneous",
161161
ID: "LS007",
@@ -523,7 +523,7 @@ var configurations = []Type{
523523
},
524524
{
525525
ProjectType: projecttype.Library,
526-
SuperprojectType: projecttype.All,
526+
SuperprojectType: projecttype.Library,
527527
Category: "library.properties",
528528
Subcategory: "name field",
529529
ID: "LP018",

0 commit comments

Comments
 (0)