Skip to content

Commit

Permalink
tweaks to RuboCop config
Browse files Browse the repository at this point in the history
  • Loading branch information
korny committed Nov 24, 2019
1 parent 3b34dc3 commit ad75695
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 23 deletions.
1 change: 1 addition & 0 deletions .rubocop.yml
Expand Up @@ -2,6 +2,7 @@ inherit_from: .rubocop_todo.yml

AllCops:
TargetRubyVersion: 2.3
DisplayStyleGuide: true
Exclude:
- 'test/scanners/**/*'
- 'bench/example.ruby'
Expand Down
23 changes: 0 additions & 23 deletions .rubocop_todo.yml
Expand Up @@ -530,29 +530,6 @@ Naming/VariableNumber:
Exclude:
- 'test/unit/tokens.rb'

# Offense count: 1
Performance/Caller:
Exclude:
- 'lib/coderay/scanners/scanner.rb'

# Offense count: 1
# Cop supports --auto-correct.
Performance/Casecmp:
Exclude:
- 'rake_tasks/generator.rake'

# Offense count: 1
# Cop supports --auto-correct.
Performance/StringReplacement:
Exclude:
- 'lib/coderay/encoders/html.rb'

# Offense count: 3
Performance/UnfreezeString:
Exclude:
- 'lib/coderay/encoders/encoder.rb'
- 'lib/coderay/encoders/html.rb'

# Offense count: 1
# Cop supports --auto-correct.
# Configuration parameters: AutoCorrect.
Expand Down

0 comments on commit ad75695

Please sign in to comment.