Skip to content

Commit 2e7077a

Browse files
committedJan 22, 2016
Add --without-color flag to RailsBestPractices
1 parent a98d948 commit 2e7077a

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed
 

‎CHANGELOG.md

+2
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@
55
* Add support for glob patterns to `ProtectedBranches` pre-push hook
66
* Add `Mdl` pre-commit hook to run
77
[`mdl`](https://github.com/mivok/markdownlint) on Markdown files
8+
* Add `--without-color` flag to `RailsBestPractices` pre-commit hook
9+
to fix parsing issues due to color escape sequences
810

911
## 0.30.0
1012

‎config/default.yml

+1
Original file line numberDiff line numberDiff line change
@@ -399,6 +399,7 @@ PreCommit:
399399
enabled: false
400400
description: 'Analyzing with RailsBestPractices'
401401
required_executable: 'rails_best_practices'
402+
flags: ['--without-color']
402403
install_command: 'gem install rails_best_practices'
403404

404405
RailsSchemaUpToDate:

0 commit comments

Comments
 (0)
Please sign in to comment.