Annotate rules as providing fixes

This commit is contained in:
Jeroen Engels 2022-10-16 01:24:29 +02:00
parent c94d90d470
commit a198634521
5 changed files with 5 additions and 0 deletions

View File

@ -130,6 +130,7 @@ rule phantomTypes =
, fromModuleToProject = fromModuleToProject
, foldProjectContexts = foldProjectContexts
}
|> Rule.providesFixesForProjectRule
|> Rule.withContextFromImportedModules
|> Rule.withFinalProjectEvaluation finalProjectEvaluation
|> Rule.fromProjectRuleSchema

View File

@ -52,6 +52,7 @@ rule =
, foldProjectContexts = foldProjectContexts
}
|> Rule.withFinalProjectEvaluation finalEvaluationForProject
|> Rule.providesFixesForProjectRule
|> Rule.fromProjectRuleSchema

View File

@ -64,6 +64,7 @@ rule =
}
|> Rule.withElmJsonProjectVisitor (\elmJson context -> ( [], elmJsonVisitor elmJson context ))
|> Rule.withFinalProjectEvaluation finalEvaluationForProject
|> Rule.providesFixesForProjectRule
|> Rule.fromProjectRuleSchema

View File

@ -70,6 +70,7 @@ rule =
|> Rule.withCaseBranchEnterVisitor caseBranchEnterVisitor
|> Rule.withCaseBranchExitVisitor caseBranchExitVisitor
|> NameVisitor.withValueVisitor valueVisitor
|> Rule.providesFixesForModuleRule
|> Rule.fromModuleRuleSchema

View File

@ -110,6 +110,7 @@ rule =
, foldProjectContexts = foldProjectContexts
}
|> Rule.withContextFromImportedModules
|> Rule.providesFixesForProjectRule
|> Rule.fromProjectRuleSchema