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.
1 parent 439c93d commit 54b76a8Copy full SHA for 54b76a8
internal/rule/rule.go
@@ -62,7 +62,7 @@ func Runner(project project.Type) {
62
func shouldRun(ruleConfiguration ruleconfiguration.Type, currentProject project.Type) (bool, error) {
63
configurationRuleModes := configuration.RuleModes(currentProject.SuperprojectType)
64
65
- if ruleConfiguration.ProjectType != currentProject.ProjectType {
+ if !ruleConfiguration.ProjectType.Matches(currentProject.ProjectType) {
66
return false, nil
67
}
68
0 commit comments