We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0ab9497 commit 6ece399Copy full SHA for 6ece399
CHANGELOG.md
@@ -55,6 +55,8 @@
55
* Restore file modification times of unstaged files in addition to staged files
56
in pre-commit hook runs
57
* Change default value for `problem_on_unmodified_line` from `warn` to `report`
58
+* Update `Rubocop` pre-commit hook to pass `--display-cop-names` flag so
59
+ cop names appear in output
60
61
## 0.23.0
62
config/default.yml
@@ -339,7 +339,7 @@ PreCommit:
339
enabled: false
340
description: 'Analyzing with Rubocop'
341
required_executable: 'rubocop'
342
- flags: ['--format=emacs', '--force-exclusion']
+ flags: ['--format=emacs', '--force-exclusion', '--display-cop-names']
343
install_command: 'gem install rubocop'
344
include:
345
- '**/*.gemspec'
0 commit comments