fedux-org/proxy_pac_rb

View on GitHub
.rubocop_todo.yml

Summary

Maintainability
Test Coverage
# This configuration was generated by
# `rubocop --auto-gen-config`
# on 2017-06-04 19:50:00 +0000 using RuboCop version 0.49.1.
# The point is for the user to remove these configuration records
# one by one as the offenses are removed from the code base.
# Note that changes in the inspected code, or installation of new
# versions of RuboCop, may require this file to be generated again.

# Offense count: 82
# Cop supports --auto-correct.
Layout/EmptyLineAfterMagicComment:
  Enabled: false

# Offense count: 87
# Configuration parameters: EnforcedStyle, SupportedStyles.
# SupportedStyles: native, lf, crlf
Layout/EndOfLine:
  Enabled: false

# Offense count: 27
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle, SupportedStyles.
# SupportedStyles: auto_detection, squiggly, active_support, powerpack, unindent
Layout/IndentHeredoc:
  Exclude:
    - 'lib/proxy_pac_rb/cli/init_proxy_pac.rb'
    - 'lib/proxy_pac_rb/proxy_pac_js.rb'
    - 'proxy_pac_rb.gemspec'
    - 'spec/parser_spec.rb'
    - 'spec/rack/proxy_pac_compressor_spec.rb'
    - 'spec/rack/proxy_pac_linter_spec.rb'
    - 'spec/rspec/compare_proxy_pac_files_spec.rb'
    - 'spec/rspec/parse_proxy_pac_spec.rb'
    - 'spec/rspec/readability_spec.rb'
    - 'spec/rspec/validitiy_spec.rb'

# Offense count: 17
# Configuration parameters: CountComments, ExcludedMethods.
Metrics/BlockLength:
  Max: 178

# Offense count: 1
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle, SupportedStyles.
# SupportedStyles: compact, expanded
Style/EmptyMethod:
  Exclude:
    - 'lib/proxy_pac_rb/runtime.rb'

# Offense count: 1
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle, SupportedStyles.
# SupportedStyles: when_needed, always, never
Style/FrozenStringLiteralComment:
  Exclude:
    - 'Vagrantfile'

# Offense count: 1
# Cop supports --auto-correct.
# Configuration parameters: InverseMethods, InverseBlocks.
Style/InverseMethods:
  Exclude:
    - 'lib/proxy_pac_rb/rspec.rb'

# Offense count: 7
# Cop supports --auto-correct.
# Configuration parameters: PreferredDelimiters.
Style/PercentLiteralDelimiters:
  Exclude:
    - 'Rakefile'
    - 'lib/proxy_pac_rb/cli/shared.rb'
    - 'lib/proxy_pac_rb/main.rb'
    - 'lib/proxy_pac_rb/rspec.rb'
    - 'spec/environment_spec.rb'
    - 'templates/test_framework/rspec/support/aruba.rb'

# Offense count: 2
# Cop supports --auto-correct.
# Configuration parameters: MinSize, SupportedStyles.
# SupportedStyles: percent, brackets
Style/SymbolArray:
  EnforcedStyle: brackets

# Offense count: 4
# Cop supports --auto-correct.
Style/YodaCondition:
  Exclude:
    - 'lib/proxy_pac_rb/proxy_pac_file.rb'
    - 'lib/proxy_pac_rb/rack/proxy_pac_compressor.rb'
    - 'lib/proxy_pac_rb/rack/proxy_pac_linter.rb'
    - 'lib/proxy_pac_rb/rspec/helpers.rb'