summaryrefslogtreecommitdiff
path: root/.rubocop.yml
diff options
context:
space:
mode:
authorMatt Ray <matthewhray@gmail.com>2014-01-15 23:12:39 -0600
committerMatt Ray <matthewhray@gmail.com>2014-01-17 15:35:20 -0600
commit60e37c5eb057238122be61ec608eb72ba3d229b0 (patch)
treee41b0ab3cd5c656667f08f2ae75a15b7583a2f9c /.rubocop.yml
parentdf36ef89be830a53fdcb3b6df2ea1bdba988a7e8 (diff)
Unified Rubocop cleanups under single file.
Consolidate all the .rubocop.yml into a single file, finished out cleanups for all the Ruby files. Change-Id: I92d5983724d5d0185cd25bea6a0f46657a6c05d4 Addresses: blueprint rubocop-for-block-storage
Notes
Notes (review): Verified+2: Jenkins Approved+1: craigtracey <craigtracey@gmail.com> Code-Review+2: Jesse Nelson <spheromak@gmail.com> Submitted-by: Jenkins Submitted-at: Sat, 18 Jan 2014 04:47:05 +0000 Reviewed-on: https://review.openstack.org/67008 Project: stackforge/cookbook-openstack-block-storage Branch: refs/heads/master
Diffstat (limited to '.rubocop.yml')
-rw-r--r--.rubocop.yml14
1 files changed, 11 insertions, 3 deletions
diff --git a/.rubocop.yml b/.rubocop.yml
index 7a296ac..888678a 100644
--- a/.rubocop.yml
+++ b/.rubocop.yml
@@ -1,7 +1,15 @@
1# UTF-8 headers not generally in these files 1AllCops:
2Encoding: 2 Includes:
3 Enabled: false 3 - metadata.rb
4 - Gemfile
5 - attributes/**
6 - recipes/**
7 - spec/**
4 8
5# ignore long lines 9# ignore long lines
6LineLength: 10LineLength:
7 Enabled: false 11 Enabled: false
12
13# Allow small arrays before forcing %w or %W
14WordArray:
15 MinSize: 3