From 86eae3c557942208e42012a424743d6ee98cfa75 Mon Sep 17 00:00:00 2001 From: Andy Waite Date: Tue, 6 Aug 2019 21:38:41 -0400 Subject: [PATCH] Add note about RuboCop configuration See #45. --- docs/full_guide.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/full_guide.md b/docs/full_guide.md index d0690706..b6995190 100644 --- a/docs/full_guide.md +++ b/docs/full_guide.md @@ -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.