Skip to content

Commit

Permalink
Add --no-summary flag to haml-lint
Browse files Browse the repository at this point in the history
Haml-lint now prints a summary at the end of the run. E.g.

  11 files inspected, 1 lint detected

We need to disable that so that overcommit can parse the output
correctly.

Here's some more context: sds/haml-lint#176

This will help resolve some of the issues seen in #483.
  • Loading branch information
trotzig committed Apr 4, 2017
1 parent fc4e7de commit a8cc1f2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions config/default.yml
Expand Up @@ -288,6 +288,7 @@ PreCommit:
description: 'Analyze with haml-lint'
required_executable: 'haml-lint'
install_command: 'gem install haml-lint'
flags: ['--no-summary']
include: '**/*.haml'

HardTabs:
Expand Down

0 comments on commit a8cc1f2

Please sign in to comment.