Skip to content

Commit 65ab392

Browse files
committed
Update rubocop config
1 parent 864ab47 commit 65ab392

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

.rubocop.yml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -338,3 +338,23 @@ RSpec/ExpectInHook:
338338
# We use item_1, item_2, etc. Disable.
339339
RSpec/IndexedLet:
340340
Enabled: false
341+
342+
# Naming rules:
343+
344+
# Disable anonymous block forwarding.
345+
Naming/BlockForwarding:
346+
Enabled: true
347+
EnforcedStyle: explicit
348+
349+
# Enable and exclude specific files.
350+
Naming/FileName:
351+
Enabled: true
352+
353+
# Disabled syntax:
354+
355+
# Disable shorthand hash syntax like: ({ x:, y: })
356+
# Disable % style literals
357+
Style/DisableSyntax:
358+
DisableSyntax:
359+
- shorthand_hash_syntax
360+
- percent_literals

0 commit comments

Comments
 (0)