Skip to content

Commit

Permalink
Create .rubocop.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
spike01 committed Apr 2, 2015
1 parent 2173ad4 commit 78d4855
Showing 1 changed file with 45 additions and 0 deletions.
45 changes: 45 additions & 0 deletions .rubocop.yml
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 78d4855

Please sign in to comment.