forked from rubyforgood/human-essentials
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.rubocop.yml
98 lines (92 loc) · 2 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
inherit_mode:
merge:
- Exclude
inherit_gem:
standard: config/base.yml
inherit_from:
.rubocop_todo.yml
require:
- rubocop-rails
- rubocop-performance
- standard
AllCops:
TargetRubyVersion: 3.1.2
Exclude:
- "vendor/**/*"
- "db/schema.rb"
- "db/partners_schema.rb"
- "db/seeds.rb"
- "db/migrate/*"
- "bin/*"
- "lib/files/cucumber.rake"
- "lib/tasks/*"
- "config/initializers/*"
- "Vagrantfile"
- "Rakefile"
- "tmp/*"
- "node_modules/**/*"
UseCache: false
Rails:
Enabled: true
Rails/Output:
Enabled: true
Rails/Date:
Enabled: true
Rails/FilePath:
Enabled: false
Rails/FindBy:
Enabled: true
Rails/FindEach:
Enabled: true
Rails/PluralizationGrammar:
Enabled: true
Rails/ScopeArgs:
Enabled: true
Rails/TimeZone:
Enabled: true
Rails/UnknownEnv:
Environments:
- production
- development
- test
Rails/UniqueValidationWithoutIndex: # We use multiple unique validations where the uniqueness is scoped
Enabled: false
Rails/ActiveRecordCallbacksOrder:
Enabled: false
Rails/AfterCommitOverride:
Enabled: false
Rails/FindById:
Enabled: false
Rails/Inquiry:
Enabled: false
Rails/MailerName:
Enabled: false
Rails/MatchRoute:
Enabled: false
Rails/NegateInclude:
Enabled: false
Rails/Pluck:
Enabled: false
Rails/PluckInWhere:
Enabled: false
Rails/RenderInline:
Enabled: false
Rails/RenderPlainText:
Enabled: false
Rails/ShortI18n:
Enabled: false
Rails/SquishedSQLHeredocs:
Enabled: false
Rails/WhereExists:
Enabled: false
Rails/WhereNot:
Enabled: false
Rails/HasAndBelongsToMany:
Enabled: false
Rails/BulkChangeTable:
Exclude:
- db/partners_migrate/20180811225530_add_devise_to_partners.rb
- db/partners_migrate/20180811230421_devise_invitable_add_to_partners.rb
- db/partners_migrate/20190331165342_rename_item_to_item_request.rb
- db/partners_migrate/20190527220231_change_item_needed_column_to_integer_type.rb
- db/partners_migrate/20190726131533_devise_invitable_add_to_users_for_partnerbase.rb