Skip to content

Commit ad75695

Browse files
committed
tweaks to RuboCop config
1 parent 3b34dc3 commit ad75695

File tree

2 files changed

+1
-23
lines changed

2 files changed

+1
-23
lines changed

.rubocop.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ inherit_from: .rubocop_todo.yml
22

33
AllCops:
44
TargetRubyVersion: 2.3
5+
DisplayStyleGuide: true
56
Exclude:
67
- 'test/scanners/**/*'
78
- 'bench/example.ruby'

.rubocop_todo.yml

Lines changed: 0 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -530,29 +530,6 @@ Naming/VariableNumber:
530530
Exclude:
531531
- 'test/unit/tokens.rb'
532532

533-
# Offense count: 1
534-
Performance/Caller:
535-
Exclude:
536-
- 'lib/coderay/scanners/scanner.rb'
537-
538-
# Offense count: 1
539-
# Cop supports --auto-correct.
540-
Performance/Casecmp:
541-
Exclude:
542-
- 'rake_tasks/generator.rake'
543-
544-
# Offense count: 1
545-
# Cop supports --auto-correct.
546-
Performance/StringReplacement:
547-
Exclude:
548-
- 'lib/coderay/encoders/html.rb'
549-
550-
# Offense count: 3
551-
Performance/UnfreezeString:
552-
Exclude:
553-
- 'lib/coderay/encoders/encoder.rb'
554-
- 'lib/coderay/encoders/html.rb'
555-
556533
# Offense count: 1
557534
# Cop supports --auto-correct.
558535
# Configuration parameters: AutoCorrect.

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy