-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.rubocop.yml
69 lines (62 loc) · 1.32 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
require: rubocop-rails
AllCops:
TargetRubyVersion: 2.7.2
Exclude:
- 'bin/**/*'
- 'config/**/*'
- 'coverage/**/*'
- 'db/**/*'
- 'lib/**/*'
- 'log/**/*'
- 'node_modules/**/*'
- 'shared/**/*'
- 'storage/**/*'
- 'script/**/*'
- 'vendor/**/*'
- '*.js.erb'
NewCops: enable
SuggestExtensions: false
Bundler/OrderedGems:
Enabled: false
Gemspec/OrderedDependencies:
Enabled: false
Layout/LineLength:
Enabled: false
Layout/EmptyLineAfterGuardClause:
Enabled: false
Layout/SpaceBeforeBlockBraces:
Enabled: false
Layout/SpaceInsideHashLiteralBraces:
EnforcedStyle: compact
Layout/TrailingEmptyLines:
Enabled: false
Style/Documentation:
Enabled: false
Style/GuardClause:
Enabled: false
Metrics/BlockLength:
Enabled: false
Layout/EmptyLinesAroundAttributeAccessor:
Enabled: false
Layout/SpaceAroundMethodCallOperator:
Enabled: false
Lint/DeprecatedOpenSSLConstant:
Enabled: false
Lint/RaiseException:
Enabled: false
Lint/StructNewOverride:
Enabled: false
Style/ExponentialNotation:
Enabled: false
Style/HashEachMethods:
Enabled: false
Style/HashTransformKeys:
Enabled: false
Style/HashTransformValues:
Enabled: false
Style/SlicingWithRange:
Enabled: false
Rails/UniqueValidationWithoutIndex:
Enabled: false
Rails/HasManyOrHasOneDependent:
Enabled: false