2016-09-28 22:34:09 +02:00
|
|
|
# This configuration was generated by
|
|
|
|
|
# `rubocop --auto-gen-config --exclude-limit 100`
|
2016-10-24 17:15:25 +02:00
|
|
|
# on 2016-10-24 17:14:14 +0200 using RuboCop version 0.44.1.
|
2016-09-28 22:34:09 +02:00
|
|
|
# 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: 16
|
|
|
|
|
Lint/HandleExceptions:
|
|
|
|
|
Exclude:
|
|
|
|
|
- 'cmd/install.rb'
|
|
|
|
|
- 'cmd/reinstall.rb'
|
|
|
|
|
- 'cmd/tap.rb'
|
|
|
|
|
- 'cmd/update-report.rb'
|
|
|
|
|
- 'cmd/upgrade.rb'
|
|
|
|
|
- 'cmd/uses.rb'
|
|
|
|
|
- 'descriptions.rb'
|
|
|
|
|
- 'diagnostic.rb'
|
|
|
|
|
- 'extend/ENV/super.rb'
|
|
|
|
|
- 'extend/pathname.rb'
|
|
|
|
|
- 'formula.rb'
|
|
|
|
|
- 'formula_versions.rb'
|
2016-10-24 18:57:57 +02:00
|
|
|
- 'test/ENV_test.rb'
|
2016-09-28 22:34:09 +02:00
|
|
|
|
|
|
|
|
# Offense count: 3
|
|
|
|
|
Lint/IneffectiveAccessModifier:
|
|
|
|
|
Exclude:
|
|
|
|
|
- 'formula.rb'
|
|
|
|
|
- 'version.rb'
|
|
|
|
|
|
|
|
|
|
# Offense count: 1
|
|
|
|
|
Lint/Loop:
|
|
|
|
|
Exclude:
|
|
|
|
|
- 'patch.rb'
|
|
|
|
|
|
|
|
|
|
# Offense count: 28
|
|
|
|
|
Lint/RescueException:
|
|
|
|
|
Exclude:
|
|
|
|
|
- 'brew.rb'
|
|
|
|
|
- 'build.rb'
|
|
|
|
|
- 'cmd/fetch.rb'
|
|
|
|
|
- 'cmd/reinstall.rb'
|
|
|
|
|
- 'cmd/update-report.rb'
|
|
|
|
|
- 'debrew.rb'
|
|
|
|
|
- 'dev-cmd/pull.rb'
|
|
|
|
|
- 'dev-cmd/test.rb'
|
|
|
|
|
- 'formula.rb'
|
|
|
|
|
- 'formula_installer.rb'
|
|
|
|
|
- 'migrator.rb'
|
|
|
|
|
- 'postinstall.rb'
|
|
|
|
|
- 'readall.rb'
|
|
|
|
|
- 'test.rb'
|
2016-10-24 18:57:57 +02:00
|
|
|
- 'test/ENV_test.rb'
|
2016-09-28 22:34:09 +02:00
|
|
|
- 'utils/fork.rb'
|
|
|
|
|
|
|
|
|
|
# Offense count: 1
|
|
|
|
|
Lint/ShadowedException:
|
|
|
|
|
Exclude:
|
|
|
|
|
- 'utils/fork.rb'
|
|
|
|
|
|
|
|
|
|
# Offense count: 14
|
|
|
|
|
Metrics/BlockNesting:
|
|
|
|
|
Max: 5
|
|
|
|
|
|
|
|
|
|
# Offense count: 19
|
|
|
|
|
# Configuration parameters: CountComments.
|
|
|
|
|
Metrics/ModuleLength:
|
2016-10-24 17:15:25 +02:00
|
|
|
Max: 367
|
2016-09-28 22:34:09 +02:00
|
|
|
|
|
|
|
|
# Offense count: 2
|
|
|
|
|
# Configuration parameters: CountKeywordArgs.
|
|
|
|
|
Metrics/ParameterLists:
|
|
|
|
|
Max: 6
|
|
|
|
|
|
|
|
|
|
# Offense count: 8
|
|
|
|
|
# Cop supports --auto-correct.
|
|
|
|
|
# Configuration parameters: EnforcedStyle, SupportedStyles.
|
|
|
|
|
# SupportedStyles: percent_q, bare_percent
|
|
|
|
|
Style/BarePercentLiterals:
|
|
|
|
|
Exclude:
|
|
|
|
|
- 'dev-cmd/audit.rb'
|
|
|
|
|
- 'test/test_diagnostic.rb'
|
|
|
|
|
- 'test/test_exceptions.rb'
|
|
|
|
|
- 'test/test_patch.rb'
|
|
|
|
|
- 'test/test_string.rb'
|
|
|
|
|
|
2016-10-24 17:15:25 +02:00
|
|
|
# Offense count: 6
|
2016-09-28 22:34:09 +02:00
|
|
|
Style/ClassVars:
|
|
|
|
|
Exclude:
|
|
|
|
|
- 'dev-cmd/audit.rb'
|
|
|
|
|
- 'formula_installer.rb'
|
2016-11-13 21:31:53 +01:00
|
|
|
- 'test/support/helper/fs_leak_logger.rb'
|
2016-09-28 22:34:09 +02:00
|
|
|
|
|
|
|
|
# Offense count: 13
|
|
|
|
|
# Configuration parameters: AllowedVariables.
|
|
|
|
|
Style/GlobalVars:
|
|
|
|
|
Exclude:
|
|
|
|
|
- 'diagnostic.rb'
|
|
|
|
|
- 'utils.rb'
|
|
|
|
|
|
2016-10-24 17:15:25 +02:00
|
|
|
# Offense count: 1
|
2016-09-28 22:34:09 +02:00
|
|
|
# Configuration parameters: EnforcedStyle, SupportedStyles.
|
|
|
|
|
# SupportedStyles: module_function, extend_self
|
|
|
|
|
Style/ModuleFunction:
|
|
|
|
|
Exclude:
|
|
|
|
|
- 'os/mac/xcode.rb'
|
|
|
|
|
|
|
|
|
|
# Offense count: 8
|
|
|
|
|
Style/MultilineBlockChain:
|
|
|
|
|
Exclude:
|
|
|
|
|
- 'cmd/search.rb'
|
|
|
|
|
- 'dev-cmd/aspell-dictionaries.rb'
|
|
|
|
|
- 'dev-cmd/audit.rb'
|
|
|
|
|
- 'dev-cmd/man.rb'
|
|
|
|
|
- 'diagnostic.rb'
|
2016-10-24 18:57:57 +02:00
|
|
|
- 'test/patching_test.rb'
|
2016-09-28 22:34:09 +02:00
|
|
|
|
|
|
|
|
# Offense count: 4
|
|
|
|
|
# Cop supports --auto-correct.
|
|
|
|
|
Style/MutableConstant:
|
|
|
|
|
Exclude:
|
|
|
|
|
- 'dependency_collector.rb'
|
|
|
|
|
- 'formulary.rb'
|
|
|
|
|
- 'tab.rb'
|
|
|
|
|
- 'tap.rb'
|
|
|
|
|
|
|
|
|
|
# Offense count: 8
|
|
|
|
|
Style/OpMethod:
|
|
|
|
|
Exclude:
|
|
|
|
|
- 'dependencies.rb'
|
|
|
|
|
- 'install_renamed.rb'
|
|
|
|
|
- 'options.rb'
|