1+ inherit_gem :
2+ rubocop-gusto :
3+ - config/default.yml
4+
5+ plugins :
6+ - rubocop-gusto
7+ - rubocop-rspec
8+ - rubocop-performance
9+ - rubocop-rake
10+
111# The behavior of RuboCop can be controlled via the .rubocop.yml
212# configuration file. It makes it possible to enable/disable
313# certain cops (checks) and to alter their behavior if they accept
@@ -14,66 +24,69 @@ AllCops:
1424 - vendor/bundle/**/**
1525 TargetRubyVersion : 2.6
1626
17- Metrics/ParameterLists :
27+ Gemspec/RequireMFA :
1828 Enabled : false
1929
20- # This cop is annoying with typed configuration
21- Style/TrivialAccessors :
30+ # This leads to code that is not very readable at times (very long lines)
31+ Layout/ArgumentAlignment :
2232 Enabled : false
2333
24- # This rubocop is annoying when we use interfaces a lot
25- Lint/UnusedMethodArgument :
34+ # This leads to code that is not very readable at times (very long lines)
35+ Layout/FirstArgumentIndentation :
2636 Enabled : false
2737
28- Gemspec/RequireMFA :
38+ Layout/LineLength :
2939 Enabled : false
3040
31- Lint/DuplicateBranch :
41+ # This leads to code that is not very readable at times (very long lines)
42+ Layout/MultilineMethodCallIndentation :
3243 Enabled : false
3344
34- # If is sometimes easier to think about than unless sometimes
35- Style/NegatedIf :
45+ Lint/DuplicateBranch :
3646 Enabled : false
3747
38- # Disabling for now until it's clearer why we want this
39- Style/FrozenStringLiteralComment :
48+ # This rubocop is annoying when we use interfaces a lot
49+ Lint/UnusedMethodArgument :
4050 Enabled : false
4151
42- # It's nice to be able to read the condition first before reading the code within the condition
43- Style/GuardClause :
52+ Metrics/AbcSize :
4453 Enabled : false
4554
46- #
47- # Leaving length metrics to human judgment for now
48- #
49- Metrics/ModuleLength :
55+ Metrics/BlockLength :
5056 Enabled : false
5157
52- Layout/LineLength :
58+ Metrics/ClassLength :
5359 Enabled : false
5460
55- Metrics/BlockLength :
61+ # This doesn't feel useful
62+ Metrics/CyclomaticComplexity :
5663 Enabled : false
5764
5865Metrics/MethodLength :
5966 Enabled : false
6067
61- Metrics/AbcSize :
68+ #
69+ # Leaving length metrics to human judgment for now
70+ #
71+ Metrics/ModuleLength :
6272 Enabled : false
6373
64- Metrics/ClassLength :
74+ Metrics/ParameterLists :
6575 Enabled : false
6676
6777# This doesn't feel useful
68- Metrics/CyclomaticComplexity :
78+ Metrics/PerceivedComplexity :
6979 Enabled : false
7080
71- # This doesn't feel useful
72- Metrics/PerceivedComplexity :
81+ # Sometimes we like methods like `get_packages`
82+ Naming/AccessorMethodName :
7383 Enabled : false
7484
75- # It's nice to be able to read the condition first before reading the code within the condition
76- Style/IfUnlessModifier :
85+ Style/AccessorGrouping :
86+ Enabled : false
87+
88+ # Blocks across lines are okay sometimes
89+ Style/BlockDelimiters :
7790 Enabled : false
7891
7992# This leads to code that is not very readable at times (very long lines)
@@ -88,36 +101,29 @@ Style/Documentation:
88101Style/EmptyElse :
89102 Enabled : false
90103
91- # Sometimes we want to more explicitly list out a condition
92- Style/RedundantCondition :
93- Enabled : false
94-
95- # This leads to code that is not very readable at times (very long lines)
96- Layout/MultilineMethodCallIndentation :
104+ # Disabling for now until it's clearer why we want this
105+ Style/FrozenStringLiteralComment :
97106 Enabled : false
98107
99- # Blocks across lines are okay sometimes
100- Style/BlockDelimiters :
108+ # It's nice to be able to read the condition first before reading the code within the condition
109+ Style/GuardClause :
101110 Enabled : false
102111
103- # Sometimes we like methods like `get_packages`
104- Naming/AccessorMethodName :
112+ Style/HashSyntax :
105113 Enabled : false
106114
107- # This leads to code that is not very readable at times (very long lines)
108- Layout/FirstArgumentIndentation :
115+ # It's nice to be able to read the condition first before reading the code within the condition
116+ Style/IfUnlessModifier :
109117 Enabled : false
110118
111- # This leads to code that is not very readable at times (very long lines)
112- Layout/ArgumentAlignment :
119+ # If is sometimes easier to think about than unless sometimes
120+ Style/NegatedIf :
113121 Enabled : false
114122
115- Style/AccessorGrouping :
123+ # Sometimes we want to more explicitly list out a condition
124+ Style/RedundantCondition :
116125 Enabled : false
117126
118- Style/HashSyntax :
127+ # This cop is annoying with typed configuration
128+ Style/TrivialAccessors :
119129 Enabled : false
120-
121- Gemspec/DevelopmentDependencies :
122- Enabled : true
123- EnforcedStyle : gemspec
0 commit comments