Skip to content

Commit

Permalink
Fixed TwigCS linter config to only scan templates directory.
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexSkrypnyk committed Mar 15, 2024
1 parent 0fdd44b commit d5a6ad0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .twig_cs.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@
->setReporter('console')
->setRuleSet(Twigcs\Ruleset\Official::class)
->addFinder(Twigcs\Finder\TemplateFinder::create()->in(__DIR__ . '/web/modules/custom'))
->addFinder(Twigcs\Finder\TemplateFinder::create()->in(__DIR__ . '/web/themes/custom'));
->addFinder(Twigcs\Finder\TemplateFinder::create()->in(__DIR__ . '/web/themes/contrib/civictheme/templates'));

0 comments on commit d5a6ad0

Please sign in to comment.