diff --git a/tests/NoImportingEverything.elm b/tests/NoImportingEverything.elm index 9f0cb254..c126fd58 100644 --- a/tests/NoImportingEverything.elm +++ b/tests/NoImportingEverything.elm @@ -58,6 +58,15 @@ rule : List String -> Rule rule exceptions = Rule.newModuleRuleSchema "NoImportingEverything" () |> Rule.withSimpleImportVisitor (importVisitor <| exceptionsToSet exceptions) + |> Rule.withArbitraryFilesModuleVisitor + [ "CHANGELOG.md" ] + (\files context -> + let + _ = + Debug.log "files" files + in + context + ) |> Rule.fromModuleRuleSchema