From 78d4855cba439d1c05360c2dfc1ca20fa749083a Mon Sep 17 00:00:00 2001 From: Spike Date: Thu, 2 Apr 2015 15:58:12 +0100 Subject: [PATCH] Create .rubocop.yml --- .rubocop.yml | 45 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) create mode 100644 .rubocop.yml diff --git a/.rubocop.yml b/.rubocop.yml new file mode 100644 index 0000000000..276e17894d --- /dev/null +++ b/.rubocop.yml @@ -0,0 +1,45 @@ +require: rubocop-rspec + +EmptyLinesAroundBlockBody: + Enabled: false + +Style/StringLiterals: + Enabled: false + +Style/Documentation: + Description: Document classes and non-namespace modules. + Enabled: false + +Style/MethodDefParentheses: + Description: Checks if the method definitions have or don't have parentheses. + StyleGuide: https://github.com/bbatsov/ruby-style-guide#method-parens + Enabled: false + +Style/SingleLineBlockParams: + Description: Enforces the names of some block params. + StyleGuide: https://github.com/bbatsov/ruby-style-guide#reduce-blocks + Enabled: false + Methods: + - reduce: + - a + - e + - inject: + - a + - e + +Lint/UselessAssignment: + Description: Checks for useless assignment to a local variable. + StyleGuide: https://github.com/bbatsov/ruby-style-guide#underscore-unused-vars + Enabled: false + +Style/TrailingBlankLines: + Description: Checks trailing blank lines and final newline. + StyleGuide: https://github.com/bbatsov/ruby-style-guide#newline-eof + Enabled: false + EnforcedStyle: final_newline + SupportedStyles: + - final_newline + - final_blank_line + +Rails/Output: + Enabled: false