This repository has been archived by the owner on Jul 2, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.rubocop.yml
103 lines (80 loc) · 1.82 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
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
require:
- rubocop-performance
- rubocop-rails
AllCops:
Exclude:
- db/schema.rb
- db/seeds.rb
- bin/**/*
- vendor/assets/**/*
- vendor/bundle/**/*
Layout/EmptyLines:
Exclude:
- config/initializers/sorcery.rb
Layout/ExtraSpacing:
Exclude:
- db/migrate/**/*
Layout/IndentationConsistency:
EnforcedStyle: indented_internal_methods
Exclude:
- config/routes.rb
Layout/SpaceBeforeFirstArg:
Exclude:
- config/routes.rb
Lint/Debugger:
AutoCorrect: False
Style/AndOr:
Enabled: false
Style/ClassAndModuleChildren:
Exclude:
- test/test_helper.rb
Style/Documentation:
Enabled: false
Style/MethodDefParentheses:
Enabled: false
Style/StringLiterals:
Enabled: false
Style/StructInheritance:
Exclude:
- app/policies/**/*
Style/ClassVars:
Exclude:
- app/controllers/concerns/auth.rb
- app/controllers/v1/images_controller.rb
Metrics/AbcSize:
Exclude:
- db/migrate/**/*
Max: 20
Metrics/LineLength:
Max: 120
Exclude:
- Rakefile
- config/**/*
- lib/tasks/**/*
Metrics/MethodLength:
Exclude:
- db/migrate/*
Metrics/BlockLength:
Exclude:
- lib/tasks/auto_annotate_models.rake
- config/routes.rb
- config/initializers/sorcery.rb
Metrics/ClassLength:
Exclude:
- test/controllers/v1/pins_controller_test.rb
- test/controllers/v1/assortments_controller_test.rb
- test/controllers/v1/collections_controller_test.rb
- test/controllers/v1/images_controller_test.rb
Rails:
Enabled: true
Rails/InverseOf:
Enabled: false
Rails/NotNullColumn:
Exclude:
- db/migrate/20190501020226_auth0_support.rb # All users are deleted in this migration so the default isn't bad.
Rails/FilePath:
Exclude:
- config/initializers/apipie.rb
Rails/SkipsModelValidations:
Exclude:
- db/migrate/20190523022015_add_published.rb