Skip to content

Commit d901709

Browse files
authored
Merge pull request #898 from wyardley/wyardley/rake_lint
Use lint rake task for lint pre-commit check
2 parents e0a1285 + 6b71060 commit d901709

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

moduleroot/.overcommit.yml.erb

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,10 +43,12 @@ PreCommit:
4343
enabled: true
4444
description: 'Runs rubocop on modified files only'
4545
command: ['bundle', 'exec', 'rubocop']
46-
PuppetLint:
46+
RakeTarget:
4747
enabled: true
48-
description: 'Runs puppet-lint on modified files only'
49-
command: ['bundle', 'exec', 'puppet-lint']
48+
description: 'Runs lint on modified files only'
49+
targets:
50+
- 'lint'
51+
command: ['bundle', 'exec', 'rake']
5052
YamlSyntax:
5153
enabled: true
5254
JsonSyntax:

0 commit comments

Comments
 (0)