-
Notifications
You must be signed in to change notification settings - Fork 1
/
.rubocop.yml
81 lines (72 loc) · 1.53 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
require:
- rubocop-rails
- rubocop-performance
AllCops:
TargetRubyVersion: 2.7.3
Exclude:
- 'bin/**/*'
- 'config/**/*'
- 'coverage/**/*'
- 'db/**/*'
- 'log/**/*'
- 'node_modules/**/*'
- 'shared/**/*'
- 'storage/**/*'
- 'vendor/**/*'
- '*.js.erb'
NewCops: enable
SuggestExtensions: false
Bundler/OrderedGems:
Enabled: false
Gemspec/OrderedDependencies:
Enabled: false
Layout/LineLength:
Max: 200
Layout/EmptyLineAfterGuardClause:
Enabled: false
Layout/SpaceBeforeBlockBraces:
Enabled: false
Layout/SpaceInsideHashLiteralBraces:
EnforcedStyle: compact
Layout/TrailingEmptyLines:
Enabled: false
Layout/EmptyLinesAroundAttributeAccessor:
Enabled: false
Layout/SpaceAroundMethodCallOperator:
Enabled: false
Layout/MultilineMethodCallBraceLayout:
EnforcedStyle: same_line
Style/SymbolArray:
Enabled: false
Style/TernaryParentheses:
EnforcedStyle: require_parentheses_when_complex
Style/FrozenStringLiteralComment:
Enabled: false
Style/Documentation:
Enabled: false
Style/NumericPredicate:
Enabled: false
Style/ZeroLengthPredicate:
Enabled: false
Style/NumericLiteralPrefix:
Enabled: false
Style/OptionalBooleanParameter:
Enabled: false
Metrics/BlockLength:
Enabled: false
Metrics/MethodLength:
Enabled: false
Metrics/AbcSize:
Enabled: false
Metrics/ClassLength:
Max: 200
Rails/SkipsModelValidations:
Enabled: false
Rails/OutputSafety:
Enabled: false
Rails/DynamicFindBy:
Enabled: false
Performance/Caller:
Enabled: false
Rails/I18nLocaleTexts:
Enabled: false