-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.rubocop.yml
80 lines (63 loc) · 1.11 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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
AllCops:
Exclude:
- db/schema.rb
- script/rails
- config/**/*
- tmp/**/*
Include:
- '**/*.rake'
- Gemfile
- Rakefile
- config.ru
ClassLength:
Enabled: false
CollectionMethods:
PreferredMethods:
collect!: map!
collect: map
find: detect
find_all: select
reduce: inject
Documentation:
Enabled: false
HandleExceptions:
Exclude:
- bin/rails
- bin/rake
IfUnlessModifier:
Enabled: false
LineLength:
Max: 130
Exclude:
- db/seeds.rb
- db/migrate/20150523204958_add_name_to_users.rb
MethodCalledOnDoEndBlock:
Enabled: true
MethodLength:
Enabled: false
PredicateName:
Exclude:
- spec/features/**/*
- spec/support/features/**/*
- spec/support/page_objects/**/*
Output:
Exclude:
- bin/setup
SymbolArray:
Enabled: false
Layout/SpaceBeforeFirstArg:
Exclude:
- db/migrate/**/*
Metrics/AbcSize:
Enabled: false
Metrics/BlockLength:
Enabled: false
Style/ConditionalAssignment:
Exclude:
- spec/support/database_cleaner.rb
Style/MixinUsage:
Exclude:
- bin/setup
- bin/update
Style/Next:
Enabled: false