diff --git a/src/org/typo3/chefci/v2/stages/Lint.groovy b/src/org/typo3/chefci/v2/stages/Lint.groovy index 970632c..96de2fe 100644 --- a/src/org/typo3/chefci/v2/stages/Lint.groovy +++ b/src/org/typo3/chefci/v2/stages/Lint.groovy @@ -19,7 +19,9 @@ class Lint extends AbstractStage { private def foodcritic(){ script.node { - script.sh('foodcritic .') + // we have to manually disable these directories because foodcritic is stupid by default. + // https://github.com/acrmp/foodcritic/issues/148 + script.sh('foodcritic . --exclude spec --exclude test') } }