Skip to content

Commit

Permalink
Merge pull request #54 from andyw8/patch-1
Browse files Browse the repository at this point in the history
Add note about RuboCop configuration
  • Loading branch information
Abroskin Alexander authored Aug 8, 2019
2 parents 6f09870 + 86eae3c commit 46a5f30
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docs/full_guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,8 @@ pre-commit:
run: bundle exec rubocop {all_files} # {all_files} - list of files
```

Note: If using `all_files` with RuboCop, it will ignore RuboCop's `Exclude` configuration setting. To avoid this, pass `--force-exclusion`.

## Custom file list

Lefthook can be even more specific in selecting files.
Expand Down

0 comments on commit 46a5f30

Please sign in to comment.