rubocop-config-captive 1.0.0.pre.alpha.3 → 1.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/Gemfile +0 -4
- data/README.md +1 -1
- data/config/__private__/README.md +1 -0
- data/config/__private__/rubocop-airbnb.yml +96 -0
- data/config/__private__/rubocop-bundler.yml +9 -0
- data/config/__private__/rubocop-gemspec.yml +13 -0
- data/config/__private__/rubocop-layout.yml +562 -0
- data/config/__private__/rubocop-lint.yml +306 -0
- data/config/__private__/rubocop-metrics.yml +44 -0
- data/config/__private__/rubocop-naming.yml +89 -0
- data/config/__private__/rubocop-performance.yml +126 -0
- data/config/__private__/rubocop-rails.yml +222 -0
- data/config/__private__/rubocop-rspec.yml +327 -0
- data/config/__private__/rubocop-security.yml +18 -0
- data/config/__private__/rubocop-style.yml +1001 -0
- data/config/default.yml +54 -0
- data/config/rubocop-bundler.yml +3 -0
- data/config/rubocop-captive.yml +33 -0
- data/config/rubocop-capybara.yml +2 -0
- data/config/rubocop-gemspec.yml +3 -0
- data/config/rubocop-layout.yml +45 -0
- data/config/rubocop-lint.yml +3 -0
- data/config/rubocop-metrics.yml +3 -0
- data/config/rubocop-naming.yml +3 -0
- data/config/rubocop-performance.yml +3 -0
- data/config/rubocop-rails.yml +3 -0
- data/config/rubocop-rake.yml +2 -0
- data/config/rubocop-rspec.yml +3 -0
- data/config/rubocop-security.yml +3 -0
- data/config/rubocop-style.yml +3 -0
- data/lib/rubocop/captive/version.rb +8 -0
- data/lib/rubocop-captive.rb +1 -1
- data/rubocop-config-captive.gemspec +5 -2
- metadata +33 -4
@@ -0,0 +1,222 @@
|
|
1
|
+
### ⚠️ GENERATED WITH `script/pull`. DO NOT EDIT MANUALLY. ###
|
2
|
+
require:
|
3
|
+
- rubocop-rails
|
4
|
+
|
5
|
+
# before_action doesn't seem to exist, so this doesn't make sense.
|
6
|
+
Rails/ActionFilter:
|
7
|
+
Enabled: false
|
8
|
+
|
9
|
+
Rails/ActiveRecordAliases:
|
10
|
+
Enabled: false
|
11
|
+
|
12
|
+
Rails/ActiveSupportAliases:
|
13
|
+
Enabled: false
|
14
|
+
|
15
|
+
Rails/ApplicationJob:
|
16
|
+
Enabled: false
|
17
|
+
|
18
|
+
Rails/ApplicationRecord:
|
19
|
+
Enabled: false
|
20
|
+
|
21
|
+
Rails/AssertNot:
|
22
|
+
Enabled: false
|
23
|
+
|
24
|
+
Rails/Blank:
|
25
|
+
Description: 'Enforce using `blank?` and `present?`.'
|
26
|
+
Enabled: true
|
27
|
+
# Convert checks for `nil` or `empty?` to `blank?`
|
28
|
+
NilOrEmpty: true
|
29
|
+
# Convert usages of not `present?` to `blank?`
|
30
|
+
NotPresent: true
|
31
|
+
# Convert usages of `unless` `present?` to `if` `blank?`
|
32
|
+
UnlessPresent: true
|
33
|
+
|
34
|
+
Rails/BulkChangeTable:
|
35
|
+
Enabled: false
|
36
|
+
|
37
|
+
Rails/CreateTableWithTimestamps:
|
38
|
+
Description: Checks the migration for which timestamps are not included when creating a new table.
|
39
|
+
Enabled: true
|
40
|
+
|
41
|
+
Rails/Date:
|
42
|
+
Description: Checks the correct usage of date aware methods, such as Date.today, Date.current
|
43
|
+
etc.
|
44
|
+
Enabled: false
|
45
|
+
EnforcedStyle: flexible
|
46
|
+
SupportedStyles:
|
47
|
+
- strict
|
48
|
+
- flexible
|
49
|
+
|
50
|
+
# Supports --auto-correct
|
51
|
+
Rails/Delegate:
|
52
|
+
Description: Prefer delegate method for delegations.
|
53
|
+
Enabled: false
|
54
|
+
|
55
|
+
Rails/DelegateAllowBlank:
|
56
|
+
Enabled: false
|
57
|
+
|
58
|
+
Rails/DynamicFindBy:
|
59
|
+
Enabled: false
|
60
|
+
|
61
|
+
Rails/EnumUniqueness:
|
62
|
+
Enabled: false
|
63
|
+
|
64
|
+
Rails/EnvironmentComparison:
|
65
|
+
Description: "Favor `Rails.env.production?` over `Rails.env == 'production'`"
|
66
|
+
Enabled: true
|
67
|
+
|
68
|
+
Rails/Exit:
|
69
|
+
Description: >-
|
70
|
+
Favor `fail`, `break`, `return`, etc. over `exit` in
|
71
|
+
application or library code outside of Rake files to avoid
|
72
|
+
exits during unit testing or running in production.
|
73
|
+
Enabled: false
|
74
|
+
|
75
|
+
Rails/FilePath:
|
76
|
+
Enabled: false
|
77
|
+
|
78
|
+
# Supports --auto-correct
|
79
|
+
Rails/FindBy:
|
80
|
+
Description: Prefer find_by over where.first.
|
81
|
+
Enabled: false
|
82
|
+
Include:
|
83
|
+
- app/models/**/*.rb
|
84
|
+
|
85
|
+
# Supports --auto-correct
|
86
|
+
Rails/FindEach:
|
87
|
+
Description: Prefer all.find_each over all.find.
|
88
|
+
Enabled: false
|
89
|
+
Include:
|
90
|
+
- app/models/**/*.rb
|
91
|
+
|
92
|
+
Rails/HasAndBelongsToMany:
|
93
|
+
Description: Prefer has_many :through to has_and_belongs_to_many.
|
94
|
+
Enabled: false
|
95
|
+
Include:
|
96
|
+
- app/models/**/*.rb
|
97
|
+
|
98
|
+
Rails/HasManyOrHasOneDependent:
|
99
|
+
Enabled: false
|
100
|
+
|
101
|
+
Rails/HttpPositionalArguments:
|
102
|
+
Enabled: false
|
103
|
+
|
104
|
+
Rails/HttpStatus:
|
105
|
+
Enabled: false
|
106
|
+
|
107
|
+
Rails/InverseOf:
|
108
|
+
Description: 'Checks for associations where the inverse cannot be determined automatically.'
|
109
|
+
Enabled: false
|
110
|
+
|
111
|
+
Rails/LexicallyScopedActionFilter:
|
112
|
+
Description: Checks that methods specified in the filter's `only` or `except` options are
|
113
|
+
explicitly defined in the controller.
|
114
|
+
StyleGuide: 'https://github.com/rubocop-hq/rails-style-guide#lexically-scoped-action-filter'
|
115
|
+
Enabled: false
|
116
|
+
|
117
|
+
Rails/NotNullColumn:
|
118
|
+
Enabled: false
|
119
|
+
|
120
|
+
Rails/Output:
|
121
|
+
Description: Checks for calls to puts, print, etc.
|
122
|
+
Enabled: false
|
123
|
+
Include:
|
124
|
+
- app/**/*.rb
|
125
|
+
- config/**/*.rb
|
126
|
+
- db/**/*.rb
|
127
|
+
- lib/**/*.rb
|
128
|
+
|
129
|
+
Rails/OutputSafety:
|
130
|
+
Description: 'The use of `html_safe` or `raw` may be a security risk.'
|
131
|
+
Enabled: false
|
132
|
+
|
133
|
+
# Supports --auto-correct
|
134
|
+
Rails/PluralizationGrammar:
|
135
|
+
Description: Checks for incorrect grammar when using methods like `3.day.ago`.
|
136
|
+
Enabled: false
|
137
|
+
|
138
|
+
Rails/Presence:
|
139
|
+
Description: Checks code that can be written more easily using `Object#presence` defined by
|
140
|
+
Active Support.
|
141
|
+
Enabled: false
|
142
|
+
|
143
|
+
Rails/Present:
|
144
|
+
Description: 'Enforce using `blank?` and `present?`.'
|
145
|
+
Enabled: true
|
146
|
+
NotNilAndNotEmpty: true
|
147
|
+
# Convert checks for not `nil` and not `empty?` to `present?`
|
148
|
+
NotBlank: true
|
149
|
+
# Convert usages of not `blank?` to `present?`
|
150
|
+
UnlessBlank: true
|
151
|
+
# Convert usages of `unless` `blank?` to `if` `present?`
|
152
|
+
|
153
|
+
# Supports --auto-correct
|
154
|
+
Rails/ReadWriteAttribute:
|
155
|
+
Description: Checks for read_attribute(:attr) and write_attribute(:attr, val).
|
156
|
+
Enabled: false
|
157
|
+
Include:
|
158
|
+
- app/models/**/*.rb
|
159
|
+
|
160
|
+
Rails/RedundantReceiverInWithOptions:
|
161
|
+
Description: 'Checks for redundant receiver in `with_options`.'
|
162
|
+
Enabled: true
|
163
|
+
|
164
|
+
Rails/RefuteMethods:
|
165
|
+
Enabled: false
|
166
|
+
|
167
|
+
Rails/RelativeDateConstant:
|
168
|
+
Enabled: false
|
169
|
+
|
170
|
+
Rails/RequestReferer:
|
171
|
+
Description: 'Use consistent syntax for request.referer.'
|
172
|
+
Enabled: false
|
173
|
+
|
174
|
+
Rails/ReversibleMigration:
|
175
|
+
Enabled: false
|
176
|
+
|
177
|
+
Rails/SafeNavigation:
|
178
|
+
Enabled: false
|
179
|
+
|
180
|
+
Rails/SaveBang:
|
181
|
+
Enabled: false
|
182
|
+
|
183
|
+
Rails/ScopeArgs:
|
184
|
+
Description: Checks the arguments of ActiveRecord scopes.
|
185
|
+
Enabled: true
|
186
|
+
Include:
|
187
|
+
- app/models/**/*.rb
|
188
|
+
|
189
|
+
Rails/SkipsModelValidations:
|
190
|
+
Enabled: false
|
191
|
+
|
192
|
+
Rails/TimeZone:
|
193
|
+
Description: Checks the correct usage of time zone aware methods.
|
194
|
+
StyleGuide: https://github.com/rubocop-hq/rails-style-guide#time
|
195
|
+
Reference: http://danilenko.org/2012/7/6/rails_timezones
|
196
|
+
Enabled: false
|
197
|
+
EnforcedStyle: flexible
|
198
|
+
SupportedStyles:
|
199
|
+
- strict
|
200
|
+
- flexible
|
201
|
+
|
202
|
+
Rails/UniqBeforePluck:
|
203
|
+
Enabled: false
|
204
|
+
|
205
|
+
Rails/UnknownEnv:
|
206
|
+
Enabled: false
|
207
|
+
|
208
|
+
Rails/Validation:
|
209
|
+
Description: Use validates :attribute, hash of validations.
|
210
|
+
Enabled: false
|
211
|
+
Include:
|
212
|
+
- app/models/**/*.rb
|
213
|
+
|
214
|
+
Rails/IgnoredSkipActionFilterOption:
|
215
|
+
Enabled: true
|
216
|
+
|
217
|
+
Rails/ReflectionClassName:
|
218
|
+
Enabled: true
|
219
|
+
|
220
|
+
Rails/RakeEnvironment:
|
221
|
+
Description: Ensures that rake tasks depend on :environment
|
222
|
+
Enabled: false
|
@@ -0,0 +1,327 @@
|
|
1
|
+
### ⚠️ GENERATED WITH `script/pull`. DO NOT EDIT MANUALLY. ###
|
2
|
+
require:
|
3
|
+
- rubocop-rspec
|
4
|
+
|
5
|
+
RSpec/AlignLeftLetBrace:
|
6
|
+
Description: Checks that left braces for adjacent single line lets are aligned.
|
7
|
+
Enabled: false
|
8
|
+
|
9
|
+
RSpec/AlignRightLetBrace:
|
10
|
+
Description: Checks that right braces for adjacent single line lets are aligned.
|
11
|
+
Enabled: false
|
12
|
+
|
13
|
+
RSpec/AnyInstance:
|
14
|
+
Description: 'Prefer instance doubles over stubbing any instance of a class'
|
15
|
+
Enabled: false
|
16
|
+
|
17
|
+
RSpec/AroundBlock:
|
18
|
+
Description: Checks that around blocks actually run the test.
|
19
|
+
Enabled: true
|
20
|
+
|
21
|
+
RSpec/Be:
|
22
|
+
Description: Check for expectations where `be` is used without argument.
|
23
|
+
Enabled: true
|
24
|
+
|
25
|
+
RSpec/BeEql:
|
26
|
+
Description: Check for expectations where `be(...)` can replace `eql(...)`.
|
27
|
+
Enabled: false
|
28
|
+
|
29
|
+
RSpec/BeforeAfterAll:
|
30
|
+
Description: Check that before/after(:all) isn't being used.
|
31
|
+
Enabled: true
|
32
|
+
Exclude:
|
33
|
+
- spec/spec_helper.rb
|
34
|
+
- spec/rails_helper.rb
|
35
|
+
- spec/support/**/*.rb
|
36
|
+
|
37
|
+
RSpec/ContextWording:
|
38
|
+
Description: "`context` block descriptions should start with 'when', or 'with'."
|
39
|
+
Enabled: false
|
40
|
+
|
41
|
+
RSpec/DescribeClass:
|
42
|
+
Description: 'Check that the first argument to the top level describe is the tested class or module.'
|
43
|
+
Enabled: false
|
44
|
+
|
45
|
+
RSpec/DescribeMethod:
|
46
|
+
Description: 'Checks that the second argument to top level describe is the tested method name.'
|
47
|
+
Enabled: false
|
48
|
+
|
49
|
+
RSpec/DescribeSymbol:
|
50
|
+
Description: Avoid describing symbols.
|
51
|
+
Enabled: true
|
52
|
+
|
53
|
+
RSpec/DescribedClass:
|
54
|
+
Description: 'Use `described_class` for tested class / module'
|
55
|
+
Enabled: false
|
56
|
+
|
57
|
+
RSpec/EmptyExampleGroup:
|
58
|
+
Description: Checks if an example group does not include any tests.
|
59
|
+
Enabled: true
|
60
|
+
|
61
|
+
RSpec/EmptyLineAfterExampleGroup:
|
62
|
+
Description: Checks if there is an empty line after example group blocks.
|
63
|
+
Enabled: true
|
64
|
+
|
65
|
+
RSpec/EmptyLineAfterFinalLet:
|
66
|
+
Description: Checks if there is an empty line after the last let block.
|
67
|
+
Enabled: true
|
68
|
+
|
69
|
+
RSpec/EmptyLineAfterHook:
|
70
|
+
Description: Checks if there is an empty line after hook blocks.
|
71
|
+
Enabled: true
|
72
|
+
|
73
|
+
RSpec/EmptyLineAfterSubject:
|
74
|
+
Description: Checks if there is an empty line after subject block.
|
75
|
+
Enabled: true
|
76
|
+
|
77
|
+
RSpec/ExampleLength:
|
78
|
+
Description: >-
|
79
|
+
A long example is usually more difficult to understand.
|
80
|
+
Consider extracting out some behaviour, e.g. with a `let` block, or a helper method.
|
81
|
+
Enabled: false
|
82
|
+
|
83
|
+
RSpec/ExampleWording:
|
84
|
+
Description: 'Do not use should when describing your tests.'
|
85
|
+
Enabled: true
|
86
|
+
CustomTransform:
|
87
|
+
be: is
|
88
|
+
have: has
|
89
|
+
not: does not
|
90
|
+
NOT: does not
|
91
|
+
automatically: automatically
|
92
|
+
correctly: correctly
|
93
|
+
successfully: successfully
|
94
|
+
only: only
|
95
|
+
properly: properly
|
96
|
+
response: responds
|
97
|
+
be redirect: redirects
|
98
|
+
IgnoredWords: []
|
99
|
+
|
100
|
+
RSpec/ExpectActual:
|
101
|
+
Description: Checks for `expect(...)` calls containing literal values.
|
102
|
+
Enabled: true
|
103
|
+
Exclude:
|
104
|
+
- spec/routing/**/*
|
105
|
+
|
106
|
+
RSpec/ExpectInHook:
|
107
|
+
Enabled: true
|
108
|
+
Description: Do not use `expect` in hooks such as `before`.
|
109
|
+
|
110
|
+
RSpec/ExpectOutput:
|
111
|
+
Description: Checks for opportunities to use `expect { ... }.to output`.
|
112
|
+
Enabled: false
|
113
|
+
|
114
|
+
RSpec/FilePath:
|
115
|
+
Description: 'Checks the file and folder naming of the spec file.'
|
116
|
+
Enabled: false
|
117
|
+
CustomTransform:
|
118
|
+
RuboCop: rubocop
|
119
|
+
RSpec: rspec
|
120
|
+
|
121
|
+
RSpec/Focus:
|
122
|
+
Description: Checks if examples are focused.
|
123
|
+
Enabled: false
|
124
|
+
|
125
|
+
RSpec/HookArgument:
|
126
|
+
Description: Checks the arguments passed to `before`, `around`, and `after`.
|
127
|
+
Enabled: false
|
128
|
+
EnforcedStyle: implicit
|
129
|
+
SupportedStyles:
|
130
|
+
- implicit
|
131
|
+
- each
|
132
|
+
- example
|
133
|
+
|
134
|
+
RSpec/HooksBeforeExamples:
|
135
|
+
Description: Checks for before/around/after hooks that come after an example.
|
136
|
+
Enabled: true
|
137
|
+
|
138
|
+
RSpec/ImplicitExpect:
|
139
|
+
Description: Check that a consistent implicit expectation style is used.
|
140
|
+
Enabled: false
|
141
|
+
EnforcedStyle: is_expected
|
142
|
+
SupportedStyles:
|
143
|
+
- is_expected
|
144
|
+
- should
|
145
|
+
|
146
|
+
RSpec/ImplicitSubject:
|
147
|
+
Description: 'Checks for usage of implicit subject (`is_expected` / `should`).'
|
148
|
+
Enabled: false
|
149
|
+
|
150
|
+
RSpec/InstanceSpy:
|
151
|
+
Description: Checks for `instance_double` used with `have_received`.
|
152
|
+
Enabled: false
|
153
|
+
|
154
|
+
RSpec/InstanceVariable:
|
155
|
+
Description: 'Checks for the usage of instance variables.'
|
156
|
+
Enabled: false
|
157
|
+
|
158
|
+
RSpec/ItBehavesLike:
|
159
|
+
Description: Checks that only one `it_behaves_like` style is used.
|
160
|
+
Enabled: false
|
161
|
+
EnforcedStyle: it_behaves_like
|
162
|
+
SupportedStyles:
|
163
|
+
- it_behaves_like
|
164
|
+
- it_should_behave_like
|
165
|
+
|
166
|
+
RSpec/IteratedExpectation:
|
167
|
+
Description: Check that `all` matcher is used instead of iterating over an array.
|
168
|
+
Enabled: false
|
169
|
+
|
170
|
+
RSpec/LeadingSubject:
|
171
|
+
Description: Checks for `subject` definitions that come after `let` definitions.
|
172
|
+
Enabled: true
|
173
|
+
|
174
|
+
RSpec/LetBeforeExamples:
|
175
|
+
Description: Checks for `let` definitions that come after an example.
|
176
|
+
Enabled: true
|
177
|
+
|
178
|
+
RSpec/LetSetup:
|
179
|
+
Description: Checks unreferenced `let!` calls being used for test setup.
|
180
|
+
Enabled: false
|
181
|
+
|
182
|
+
RSpec/MessageChain:
|
183
|
+
Description: Check that chains of messages are not being stubbed.
|
184
|
+
Enabled: false
|
185
|
+
|
186
|
+
RSpec/MessageExpectation:
|
187
|
+
Description: Checks for consistent message expectation style.
|
188
|
+
Enabled: false
|
189
|
+
EnforcedStyle: allow
|
190
|
+
SupportedStyles:
|
191
|
+
- allow
|
192
|
+
- expect
|
193
|
+
|
194
|
+
RSpec/MessageSpies:
|
195
|
+
Description: Checks that message expectations are set using spies.
|
196
|
+
Enabled: false
|
197
|
+
EnforcedStyle: have_received
|
198
|
+
SupportedStyles:
|
199
|
+
- have_received
|
200
|
+
- receive
|
201
|
+
|
202
|
+
RSpec/MissingExampleGroupArgument:
|
203
|
+
Description: Checks that the first argument to an example group is not empty.
|
204
|
+
Enabled: true
|
205
|
+
|
206
|
+
RSpec/MultipleDescribes:
|
207
|
+
Description: 'Checks for multiple top level describes.'
|
208
|
+
Enabled: true
|
209
|
+
|
210
|
+
RSpec/MultipleExpectations:
|
211
|
+
Description: Checks if examples contain too many `expect` calls.
|
212
|
+
Enabled: false
|
213
|
+
Max: 1
|
214
|
+
|
215
|
+
RSpec/MultipleSubjects:
|
216
|
+
Description: Checks if an example group defines `subject` multiple times.
|
217
|
+
Enabled: true
|
218
|
+
|
219
|
+
RSpec/NamedSubject:
|
220
|
+
Description: Checks for explicitly referenced test subjects.
|
221
|
+
Enabled: false
|
222
|
+
|
223
|
+
RSpec/NestedGroups:
|
224
|
+
Description: Checks for nested example groups.
|
225
|
+
Enabled: false
|
226
|
+
Max: 3
|
227
|
+
|
228
|
+
RSpec/ReceiveNever:
|
229
|
+
Description: 'Prefer `not_to receive(…)` over `receive(…).never`.'
|
230
|
+
Enabled: true
|
231
|
+
|
232
|
+
RSpec/NotToNot:
|
233
|
+
Description: 'Enforces the usage of the same method on all negative message expectations.'
|
234
|
+
Enabled: true
|
235
|
+
EnforcedStyle: not_to
|
236
|
+
SupportedStyles:
|
237
|
+
- not_to
|
238
|
+
- to_not
|
239
|
+
|
240
|
+
RSpec/OverwritingSetup:
|
241
|
+
Enabled: false
|
242
|
+
Description: Checks if there is a let/subject that overwrites an existing one.
|
243
|
+
|
244
|
+
RSpec/Pending:
|
245
|
+
Description: Checks for any pending or skipped examples.
|
246
|
+
Enabled: false
|
247
|
+
|
248
|
+
RSpec/PredicateMatcher:
|
249
|
+
Description: Prefer using predicate matcher over using predicate method directly.
|
250
|
+
Enabled: false
|
251
|
+
Strict: true
|
252
|
+
EnforcedStyle: inflected
|
253
|
+
SupportedStyles:
|
254
|
+
- inflected
|
255
|
+
- explicit
|
256
|
+
|
257
|
+
RSpec/ReceiveCounts:
|
258
|
+
Description: Check for `once` and `twice` receive counts matchers usage.
|
259
|
+
Enabled: false
|
260
|
+
|
261
|
+
RSpec/RepeatedDescription:
|
262
|
+
Description: Check for repeated description strings in example groups.
|
263
|
+
Enabled: true
|
264
|
+
|
265
|
+
RSpec/RepeatedExample:
|
266
|
+
Enabled: true
|
267
|
+
Description: Check for repeated examples within example groups.
|
268
|
+
|
269
|
+
RSpec/ReturnFromStub:
|
270
|
+
Enabled: true
|
271
|
+
Description: Checks for consistent style of stub's return setting.
|
272
|
+
EnforcedStyle: and_return
|
273
|
+
SupportedStyles:
|
274
|
+
- and_return
|
275
|
+
- block
|
276
|
+
|
277
|
+
RSpec/ScatteredLet:
|
278
|
+
Description: Checks for let scattered across the example group.
|
279
|
+
Enabled: true
|
280
|
+
|
281
|
+
RSpec/ScatteredSetup:
|
282
|
+
Description: Checks for setup scattered across multiple hooks in an example group.
|
283
|
+
Enabled: true
|
284
|
+
|
285
|
+
RSpec/SharedContext:
|
286
|
+
Description: Checks for proper shared_context and shared_examples usage.
|
287
|
+
Enabled: false
|
288
|
+
|
289
|
+
RSpec/SharedExamples:
|
290
|
+
Description: Enforces use of string to titleize shared examples.
|
291
|
+
Enabled: true
|
292
|
+
|
293
|
+
RSpec/SingleArgumentMessageChain:
|
294
|
+
Description: Checks that chains of messages contain more than one element.
|
295
|
+
Enabled: true
|
296
|
+
|
297
|
+
RSpec/SubjectStub:
|
298
|
+
Description: Checks for stubbed test subjects.
|
299
|
+
Enabled: false
|
300
|
+
|
301
|
+
RSpec/UnspecifiedException:
|
302
|
+
Description: Checks for a specified error in checking raised errors.
|
303
|
+
Enabled: false
|
304
|
+
|
305
|
+
RSpec/VerifiedDoubles:
|
306
|
+
Description: 'Prefer using verifying doubles over normal doubles.'
|
307
|
+
Enabled: false
|
308
|
+
|
309
|
+
RSpec/VoidExpect:
|
310
|
+
Description: This cop checks void `expect()`.
|
311
|
+
Enabled: false
|
312
|
+
|
313
|
+
RSpec/Capybara/CurrentPathExpectation:
|
314
|
+
Description: Checks that no expectations are set on Capybara's `current_path`.
|
315
|
+
Enabled: false
|
316
|
+
|
317
|
+
RSpec/Capybara/FeatureMethods:
|
318
|
+
Description: Checks for consistent method usage in feature specs.
|
319
|
+
Enabled: false
|
320
|
+
|
321
|
+
RSpec/FactoryBot/AttributeDefinedStatically:
|
322
|
+
Description: Always declare attribute values as blocks.
|
323
|
+
Enabled: false
|
324
|
+
|
325
|
+
RSpec/FactoryBot/CreateList:
|
326
|
+
Description: Checks for create_list usage.
|
327
|
+
Enabled: true
|
@@ -0,0 +1,18 @@
|
|
1
|
+
### ⚠️ GENERATED WITH `script/pull`. DO NOT EDIT MANUALLY. ###
|
2
|
+
Security/Eval:
|
3
|
+
Description: The use of eval represents a serious security risk.
|
4
|
+
Enabled: true
|
5
|
+
|
6
|
+
Security/JSONLoad:
|
7
|
+
Enabled: false
|
8
|
+
|
9
|
+
Security/MarshalLoad:
|
10
|
+
Enabled: false
|
11
|
+
|
12
|
+
Security/Open:
|
13
|
+
Description: 'The use of Kernel#open represents a serious security risk.'
|
14
|
+
Enabled: false
|
15
|
+
|
16
|
+
Security/YAMLLoad:
|
17
|
+
Enabled: false
|
18
|
+
|