Skip to content

Commit f49c9dd

Browse files
committed
Update rubocop config
1 parent 13ca976 commit f49c9dd

File tree

1 file changed

+79
-0
lines changed

1 file changed

+79
-0
lines changed

.rubocop.yml

Lines changed: 79 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
plugins:
2+
- rubocop-performance
3+
14
AllCops:
25
TargetRubyVersion: 3.1
36
NewCops: enable
@@ -221,3 +224,79 @@ Layout/MultilineMethodCallIndentation:
221224
# Enforced by standard. Disable.
222225
Layout/CaseIndentation:
223226
Enabled: false
227+
228+
# Standard rules. Lint:
229+
230+
# Enforced by standard. Disable.
231+
Lint/ImplicitStringConcatenation:
232+
Enabled: false
233+
234+
# Enforced by standard. Disable.
235+
Lint/TripleQuotes:
236+
Enabled: false
237+
238+
# Enforced by standard. Disable.
239+
Lint/IneffectiveAccessModifier:
240+
Enabled: false
241+
242+
# Enforced by standard. Disable.
243+
Lint/SymbolConversion:
244+
Enabled: false
245+
246+
# Enforced by rubocop and standard
247+
Lint/CopDirectiveSyntax:
248+
Enabled: true
249+
250+
# Enforced by standard. Disable.
251+
Lint/DuplicateMethods:
252+
Enabled: false
253+
254+
# Enforced by standard. Disable.
255+
Lint/ConstantDefinitionInBlock:
256+
Enabled: false
257+
258+
# Enforced by standard. Disable.
259+
Lint/UselessTimes:
260+
Enabled: false
261+
262+
# Standard-performance rules.
263+
264+
# Enforced by standard-performance. Disable.
265+
Performance/Detect:
266+
Enabled: false
267+
268+
# Enforced by standard-performance. Disable.
269+
Performance/StringIdentifierArgument:
270+
Enabled: false
271+
272+
# Enforced by standard-performance. Disable.
273+
Performance/RegexpMatch:
274+
Enabled: false
275+
276+
# Always enable rubocop Security:
277+
278+
# Enforced by rubocop and standard
279+
Security/JSONLoad:
280+
Enabled: true
281+
282+
# Our rubocop rules
283+
284+
Bundler/OrderedGems:
285+
Enabled: false
286+
287+
Gemspec/OrderedDependencies:
288+
Enabled: false
289+
290+
# Don't allow %i[foo bar baz]
291+
Style/SymbolArray:
292+
Enabled: true
293+
EnforcedStyle: brackets
294+
295+
# Don't allow %w[foo bar baz]
296+
Style/WordArray:
297+
Enabled: true
298+
EnforcedStyle: brackets
299+
300+
# Disable warnings like "Missing top-level documentation comment for"
301+
Style/Documentation:
302+
Enabled: false

0 commit comments

Comments
 (0)