Commit 7e4db5ba authored by Antonio Terceiro's avatar Antonio Terceiro

rubocop: add proper exclusions

parent 69b34276
Pipeline #64407 passed with stage
in 10 minutes and 13 seconds
......@@ -7,9 +7,15 @@ Style/Documentation:
Style/FrozenStringLiteralComment:
Enabled: false
Style/StringLiterals:
Enabled: false
Style/WordArray:
Enabled: false
Metrics/BlockLength:
Exclude:
- 'spec/**/*.rb'
Metrics/ParameterLists:
Enabled: false
\ No newline at end of file
Enabled: false
......@@ -596,21 +596,7 @@ Style/SpecialGlobalVars:
# Configuration parameters: EnforcedStyle, ConsistentQuotesInMultiline.
# SupportedStyles: single_quotes, double_quotes
Style/StringLiterals:
Exclude:
- 'backends/fake/test-package'
- 'bin/debci-generate-feeds'
- 'bin/debci-generate-html'
- 'bin/debci-status'
- 'lib/debci/api.rb'
- 'lib/debci/config.rb'
- 'lib/debci/data.rb'
- 'lib/debci/html.rb'
- 'lib/debci/job.rb'
- 'lib/debci/repository.rb'
- 'lib/debci/status.rb'
- 'spec/debci/status_spec.rb'
- 'spec/spec_helper.rb'
- 'tools/analysis/Rakefile'
Enabled: false
# Offense count: 10
# Cop supports --auto-correct.
......@@ -653,6 +639,9 @@ Style/UnneededInterpolation:
Exclude:
- 'lib/debci/repository.rb'
Style/WordArray:
Enabled: false
# Offense count: 1
# Cop supports --auto-correct.
Style/ZeroLengthPredicate:
......@@ -666,4 +655,4 @@ Metrics/LineLength:
Max: 209
Metrics/ParameterLists:
Enabled: false
\ No newline at end of file
Enabled: false
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment