Skip to content

Commit 027e297

Browse files
committed
➖ Remove rubocop-md & lint cleanup
Signed-off-by: Peter Boling <[email protected]>
1 parent 5a4183c commit 027e297

File tree

2 files changed

+4
-96
lines changed

2 files changed

+4
-96
lines changed

.rubocop.yml

Lines changed: 1 addition & 90 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
require:
2-
- 'rubocop-md'
32
- 'rubocop/minitest'
43
- 'rubocop-thread_safety'
54

@@ -11,110 +10,22 @@ inherit_from: .rubocop_todo.yml
1110
AllCops:
1211
DisplayCopNames: true # Display the name of the failing cops
1312

14-
Gemspec/DateAssignment: # new in 1.10
15-
Enabled: true
1613
Layout/DotPosition:
1714
Enabled: true
1815
EnforcedStyle: trailing
1916
Layout/IndentHeredoc:
2017
Enabled: false
21-
Layout/LineEndStringConcatenationIndentation: # new in 1.18
22-
Enabled: true
23-
Layout/SpaceBeforeBrackets: # new in 1.7
24-
Enabled: true
25-
Lint/AmbiguousAssignment: # new in 1.7
26-
Enabled: true
27-
Lint/AmbiguousOperatorPrecedence: # new in 1.21
28-
Enabled: true
29-
Lint/AmbiguousRange: # new in 1.19
30-
Enabled: true
31-
Lint/DeprecatedConstants: # new in 1.8
32-
Enabled: true
33-
Lint/DuplicateBranch: # new in 1.3
34-
Enabled: true
35-
Lint/DuplicateRegexpCharacterClassElement: # new in 1.1
36-
Enabled: true
37-
Lint/EmptyBlock: # new in 1.1
38-
Enabled: true
39-
Lint/EmptyClass: # new in 1.3
40-
Enabled: true
41-
Lint/EmptyInPattern: # new in 1.16
42-
Enabled: true
43-
Lint/IncompatibleIoSelectWithFiberScheduler: # new in 1.21
44-
Enabled: true
45-
Lint/LambdaWithoutLiteralBlock: # new in 1.8
46-
Enabled: true
47-
Lint/NoReturnInBeginEndBlocks: # new in 1.2
48-
Enabled: true
49-
Lint/NumberedParameterAssignment: # new in 1.9
50-
Enabled: true
51-
Lint/OrAssignmentToConstant: # new in 1.9
52-
Enabled: true
53-
Lint/RedundantDirGlobSort: # new in 1.8
54-
Enabled: true
55-
Lint/RequireRelativeSelfPath: # new in 1.22
56-
Enabled: true
57-
Lint/SymbolConversion: # new in 1.9
58-
Enabled: true
59-
Lint/ToEnumArguments: # new in 1.1
60-
Enabled: true
61-
Lint/TripleQuotes: # new in 1.9
62-
Enabled: true
63-
Lint/UnexpectedBlockArity: # new in 1.5
64-
Enabled: true
65-
Lint/UnmodifiedReduceAccumulator: # new in 1.1
66-
Enabled: true
6718
Metrics/BlockLength:
68-
IgnoredMethods:
19+
ExcludedMethods:
6920
- context
7021
- describe
7122
- it
7223
- shared_context
7324
- shared_examples
7425
- shared_examples_for
75-
Security/IoMethods: # new in 1.22
76-
Enabled: true
77-
Style/ArgumentsForwarding: # new in 1.1
78-
Enabled: true
79-
Style/CollectionCompact: # new in 1.2
80-
Enabled: true
81-
Style/DocumentDynamicEvalDefinition: # new in 1.1
82-
Enabled: true
83-
Style/EndlessMethod: # new in 1.8
84-
Enabled: true
85-
Style/HashConversion: # new in 1.10
86-
Enabled: true
87-
Style/HashExcept: # new in 1.7
88-
Enabled: true
89-
Style/IfWithBooleanLiteralBranches: # new in 1.9
90-
Enabled: true
91-
Style/InPatternThen: # new in 1.16
92-
Enabled: true
93-
Style/MultilineInPatternThen: # new in 1.16
94-
Enabled: true
95-
Style/NegatedIfElseCondition: # new in 1.2
96-
Enabled: true
97-
Style/NilLambda: # new in 1.3
98-
Enabled: true
99-
Style/NumberedParameters: # new in 1.22
100-
Enabled: true
101-
Style/NumberedParametersLimit: # new in 1.22
102-
Enabled: true
103-
Style/QuotedSymbols: # new in 1.16
104-
Enabled: true
105-
Style/RedundantArgument: # new in 1.4
106-
Enabled: true
107-
Style/RedundantSelfAssignmentBranch: # new in 1.19
108-
Enabled: true
109-
Style/SelectByRegexp: # new in 1.22
110-
Enabled: true
111-
Style/StringChars: # new in 1.12
112-
Enabled: true
11326
Style/StringLiterals:
11427
Enabled: true
11528
EnforcedStyle: double_quotes
11629
Style/StringLiteralsInInterpolation:
11730
Enabled: true
11831
EnforcedStyle: double_quotes
119-
Style/SwapValues: # new in 1.1
120-
Enabled: true

Gemfile

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,18 +11,15 @@ danger = minimum_version.call("2.7")
1111
coverage = minimum_version.call("2.7")
1212
debug = minimum_version.call("2.4")
1313
overcommit = minimum_version.call("2.4")
14-
if overcommit
15-
gem "overcommit", "~> 0.58"
16-
end
14+
gem "overcommit", "~> 0.58" if overcommit
1715
if danger
1816
gem "danger", "~> 8.4"
1917
# Those lines need to be added
20-
plugin 'diffend'
18+
plugin "diffend"
2119
# Monitor is required for production realtime notifications
22-
gem 'diffend-monitor', require: %w[diffend/monitor]
20+
gem "diffend-monitor", require: %w[diffend/monitor]
2321
end
2422
if linting
25-
gem "rubocop-md"
2623
gem "rubocop-minitest"
2724
gem "rubocop-ruby2_0", "~> 1.0"
2825
gem "rubocop-thread_safety"

0 commit comments

Comments
 (0)