-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathrubocop-lint.yml
137 lines (104 loc) · 3.99 KB
/
rubocop-lint.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
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
#
## https://rubocop.readthedocs.io/en/latest/cops_lint/
#
# https://docs.rubocop.org/rubocop/cops_lint.html#lintduplicateregexpcharacterclasselement
Lint/DuplicateRegexpCharacterClassElement:
Enabled: true
# https://docs.rubocop.org/rubocop/cops_lint.html#lintemptyblock
Lint/EmptyBlock:
Enabled: true
Exclude:
- "**/spec/factories/**/*.rb"
# https://docs.rubocop.org/rubocop/cops_lint.html#linttoenumarguments
Lint/ToEnumArguments:
Enabled: true
# https://docs.rubocop.org/rubocop/cops_lint.html#lintunmodifiedreduceaccumulator
Lint/UnmodifiedReduceAccumulator:
Enabled: true
# https://docs.rubocop.org/rubocop/cops_lint.html#linthashcomparebyidentity
Lint/HashCompareByIdentity:
Enabled: true
# https://docs.rubocop.org/rubocop/cops_lint.html#lintredundantsafenavigation
Lint/RedundantSafeNavigation:
Enabled: true
# https://docs.rubocop.org/rubocop/cops_lint.html#lintnoreturninbeginendblocks
Lint/NoReturnInBeginEndBlocks:
Enabled: true
# https://docs.rubocop.org/rubocop/cops_lint.html#lintduplicatebranch
Lint/DuplicateBranch:
Enabled: true
# https://docs.rubocop.org/rubocop/cops_lint.html#lintemptyclass
Lint/EmptyClass:
Enabled: true
# https://docs.rubocop.org/rubocop/cops_lint.html#lintunexpectedblockarity
Lint/UnexpectedBlockArity:
Enabled: true
# https://docs.rubocop.org/rubocop/cops_lint.html#lintambiguousassignment
Lint/AmbiguousAssignment:
Enabled: true
# https://docs.rubocop.org/rubocop/cops_lint.html#lintdeprecatedconstants
Lint/DeprecatedConstants:
Enabled: true
# https://docs.rubocop.org/rubocop/cops_lint.html#lintlambdawithoutliteralblock
Lint/LambdaWithoutLiteralBlock:
Enabled: true
# https://docs.rubocop.org/rubocop/cops_lint.html#lintnumberedparameterassignment
Lint/NumberedParameterAssignment:
Enabled: true
# https://docs.rubocop.org/rubocop/cops_lint.html#lintorassignmenttoconstant
Lint/OrAssignmentToConstant:
Enabled: true
# https://docs.rubocop.org/rubocop/cops_lint.html#lintredundantdirglobsort
Lint/RedundantDirGlobSort:
Enabled: true
# https://docs.rubocop.org/rubocop/cops_lint.html#lintsymbolconversion
Lint/SymbolConversion:
Enabled: true
# https://docs.rubocop.org/rubocop/cops_lint.html#linttriplequotes
Lint/TripleQuotes:
Enabled: true
# https://docs.rubocop.org/rubocop/cops_lint.html#lintemptyinpattern
Lint/EmptyInPattern:
Enabled: true
# https://docs.rubocop.org/rubocop/cops_lint.html#lintambiguousrange
Lint/AmbiguousRange:
Enabled: false
# https://docs.rubocop.org/rubocop/cops_lint.html#lintambiguousoperatorprecedence
Lint/AmbiguousOperatorPrecedence:
Enabled: true
# https://docs.rubocop.org/rubocop/cops_lint.html#lintincompatibleioselectwithfiberscheduler
Lint/IncompatibleIoSelectWithFiberScheduler:
Enabled: true
# https://docs.rubocop.org/rubocop/cops_lint.html#lintrequirerelativeselfpath
Lint/RequireRelativeSelfPath:
Enabled: true
# https://docs.rubocop.org/rubocop/cops_lint.html#lintuselessruby2keywords
Lint/UselessRuby2Keywords:
Enabled: true
# https://docs.rubocop.org/rubocop/cops_lint.html#lintrefinementimportmethods
Lint/RefinementImportMethods:
Enabled: true
# https://docs.rubocop.org/rubocop/cops_lint.html#lintnonatomicfileoperation
Lint/NonAtomicFileOperation:
Enabled: true
# https://docs.rubocop.org/rubocop/cops_lint.html#lintconstantoverwritteninrescue
Lint/ConstantOverwrittenInRescue:
Enabled: true
# https://docs.rubocop.org/rubocop/cops_lint.html#lintrequirerangeparentheses
Lint/RequireRangeParentheses:
Enabled: true
# https://docs.rubocop.org/rubocop/cops_lint.html#lintduplicatemagiccomment
Lint/DuplicateMagicComment:
Enabled: true
# https://docs.rubocop.org/rubocop/cops_lint.html#lintuselessrescue
Lint/UselessRescue:
Enabled: true
# https://docs.rubocop.org/rubocop/cops_lint.html#lintduplicatematchpattern
Lint/DuplicateMatchPattern:
Enabled: true
# https://docs.rubocop.org/rubocop/cops_lint.html#lintmixedcaserange
Lint/MixedCaseRange:
Enabled: true
# https://docs.rubocop.org/rubocop/cops_lint.html#lintredundantregexpquantifiers
Lint/RedundantRegexpQuantifiers:
Enabled: true