-
Notifications
You must be signed in to change notification settings - Fork 0
/
.rubocop.yml
42 lines (36 loc) · 986 Bytes
/
.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
inherit_gem:
rubocop-github:
- config/default.yml
- config/rails.yml
inherit_from: .rubocop_todo.yml
AllCops:
TargetRubyVersion: 2.7.4
NewCops: disable
Exclude:
- 'db/schema.rb'
- 'vendor/**/*'
# TODO: Enable this cop - temporarily disabled here because it is not being added to the auto-generated to-do list
Lint/RedundantCopDisableDirective:
Enabled: false
Bundler/OrderedGems:
Enabled: false
# This section consists of cops added since the switch to the github rubocop config.
Naming/InclusiveLanguage:
Enabled: true
FlaggedTerms:
master:
Suggestions:
- main
- primary
- leader
AllowedRegex:
- 'masters' # exception for master's papers
Style/NegatedIf:
Enabled: false
Style/StringLiterals:
Enabled: true
EnforcedStyle: single_quotes # github defaults to double quotes
# This section consists of cop-specific inclusions/exclusions
Style/BlockComments:
Exclude:
- 'spec/spec_helper.rb'