From 4b00fdbc5b79336aeed6a3da45f2ec52abbfa368 Mon Sep 17 00:00:00 2001 From: David Taylor Date: Tue, 1 Aug 2017 17:47:09 +0100 Subject: [PATCH] Exclude bundle directory when running rubocop (#5016) * Exclude bundle directory when running rubocop * Include the default excludes as well --- .rubocop.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.rubocop.yml b/.rubocop.yml index 088f59f4d3c..cd2bcd9762c 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -1,6 +1,10 @@ AllCops: TargetRubyVersion: 2.4 DisabledByDefault: true + Exclude: + - 'bundle/**/*' + - 'vendor/**/*' + - 'node_modules/**/*' # Prefer &&/|| over and/or. Style/AndOr: