From 98e5df6aacbe1c0de38cc349dea672fbb51c883b Mon Sep 17 00:00:00 2001 From: Paul Mackay Date: Tue, 9 Feb 2016 06:00:05 +0000 Subject: [PATCH] Add Rubocop config file --- .rubocop.yml | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 .rubocop.yml diff --git a/.rubocop.yml b/.rubocop.yml new file mode 100644 index 0000000000..2e70cbc53b --- /dev/null +++ b/.rubocop.yml @@ -0,0 +1,29 @@ +AllCops: + Include: + - '**/Rakefile' + - '**/config.ru' + Exclude: + - 'db/**/*' + - 'config/**/*' + - 'script/**/*' + - 'spec/**/*' + - !ruby/regexp /old_and_unused\.rb$/ + +Documentation: + Enabled: false + +Style/EmptyLinesAroundClassBody: + Enabled: false + +Style/BracesAroundHashParameters: + Enabled: false + +Metrics/LineLength: + Enabled: false + Max: 120 + +MethodLength: + Enabled: false + +StringLiterals: + Enabled: false