Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitad75695

Browse files
committed
tweaks to RuboCop config
1 parent3b34dc3 commitad75695

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)

[8]ページ先頭

©2009-2025 Movatter.jp