Skip to content

Commit

Permalink
Merge pull request #898 from wyardley/wyardley/rake_lint
Browse files Browse the repository at this point in the history
Use lint rake task for lint pre-commit check
  • Loading branch information
wyardley authored May 21, 2024
2 parents e0a1285 + 6b71060 commit d901709
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions moduleroot/.overcommit.yml.erb
Original file line number Diff line number Diff line change
Expand Up @@ -43,10 +43,12 @@ PreCommit:
enabled: true
description: 'Runs rubocop on modified files only'
command: ['bundle', 'exec', 'rubocop']
PuppetLint:
RakeTarget:
enabled: true
description: 'Runs puppet-lint on modified files only'
command: ['bundle', 'exec', 'puppet-lint']
description: 'Runs lint on modified files only'
targets:
- 'lint'
command: ['bundle', 'exec', 'rake']
YamlSyntax:
enabled: true
JsonSyntax:
Expand Down

0 comments on commit d901709

Please sign in to comment.