forked from makersacademy/instagram-challenge
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.rubocop.yml
51 lines (41 loc) · 1.19 KB
/
.rubocop.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
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
Style/EmptyLinesAroundClassBody:
Enabled: false
Rails/Output:
Enabled: false
AllCops:
RunRailsCops: true