diff options
author | Kornelius Kalnbach <murphy@rubychan.de> | 2019-11-24 14:55:02 +0100 |
---|---|---|
committer | Kornelius Kalnbach <murphy@rubychan.de> | 2019-11-24 15:00:27 +0100 |
commit | ad756954fda50c328f000bf88da30a2b09c99043 (patch) | |
tree | 3cfd495b4280292f6caf8975dbb9d9b50a726006 | |
parent | 3b34dc32db8e9371ad6a4bc0f810656aac8c3385 (diff) | |
download | coderay-ad756954fda50c328f000bf88da30a2b09c99043.tar.gz |
tweaks to RuboCop config
-rw-r--r-- | .rubocop.yml | 1 | ||||
-rw-r--r-- | .rubocop_todo.yml | 23 |
2 files changed, 1 insertions, 23 deletions
diff --git a/.rubocop.yml b/.rubocop.yml index 978ab2b..e248a43 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -2,6 +2,7 @@ inherit_from: .rubocop_todo.yml AllCops: TargetRubyVersion: 2.3 + DisplayStyleGuide: true Exclude: - 'test/scanners/**/*' - 'bench/example.ruby' diff --git a/.rubocop_todo.yml b/.rubocop_todo.yml index 317e6a4..17f16e5 100644 --- a/.rubocop_todo.yml +++ b/.rubocop_todo.yml @@ -531,29 +531,6 @@ Naming/VariableNumber: - '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. Security/JSONLoad: |