163 lines
4.1 KiB
YAML
163 lines
4.1 KiB
YAML
# This configuration was generated by
|
|
# `rubocop --auto-gen-config --exclude-limit 100`
|
|
# on 2016-09-22 20:07:41 +0200 using RuboCop version 0.43.0.
|
|
# 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: 18
|
|
Lint/HandleExceptions:
|
|
Exclude:
|
|
- 'Homebrew/cmd/install.rb'
|
|
- 'Homebrew/cmd/reinstall.rb'
|
|
- 'Homebrew/cmd/tap.rb'
|
|
- 'Homebrew/cmd/update-report.rb'
|
|
- 'Homebrew/cmd/upgrade.rb'
|
|
- 'Homebrew/cmd/uses.rb'
|
|
- 'Homebrew/descriptions.rb'
|
|
- 'Homebrew/dev-cmd/test-bot.rb'
|
|
- 'Homebrew/diagnostic.rb'
|
|
- 'Homebrew/extend/ENV/super.rb'
|
|
- 'Homebrew/extend/pathname.rb'
|
|
- 'Homebrew/formula.rb'
|
|
- 'Homebrew/formula_versions.rb'
|
|
- 'Homebrew/test/test_ENV.rb'
|
|
|
|
# Offense count: 3
|
|
Lint/IneffectiveAccessModifier:
|
|
Exclude:
|
|
- 'Homebrew/formula.rb'
|
|
- 'Homebrew/version.rb'
|
|
|
|
# Offense count: 1
|
|
Lint/Loop:
|
|
Exclude:
|
|
- 'Homebrew/patch.rb'
|
|
|
|
# Offense count: 6
|
|
Lint/NestedMethodDefinition:
|
|
Exclude:
|
|
- 'Homebrew/test/**/*'
|
|
- 'Homebrew/dev-cmd/bottle.rb'
|
|
- 'Homebrew/dev-cmd/test-bot.rb'
|
|
|
|
# Offense count: 28
|
|
Lint/RescueException:
|
|
Exclude:
|
|
- 'Homebrew/brew.rb'
|
|
- 'Homebrew/build.rb'
|
|
- 'Homebrew/cmd/fetch.rb'
|
|
- 'Homebrew/cmd/reinstall.rb'
|
|
- 'Homebrew/cmd/update-report.rb'
|
|
- 'Homebrew/debrew.rb'
|
|
- 'Homebrew/dev-cmd/pull.rb'
|
|
- 'Homebrew/dev-cmd/test.rb'
|
|
- 'Homebrew/formula.rb'
|
|
- 'Homebrew/formula_installer.rb'
|
|
- 'Homebrew/migrator.rb'
|
|
- 'Homebrew/postinstall.rb'
|
|
- 'Homebrew/readall.rb'
|
|
- 'Homebrew/test.rb'
|
|
- 'Homebrew/test/test_ENV.rb'
|
|
- 'Homebrew/utils/fork.rb'
|
|
|
|
# Offense count: 1
|
|
Lint/ShadowedException:
|
|
Exclude:
|
|
- 'Homebrew/utils/fork.rb'
|
|
|
|
# Offense count: 18
|
|
Metrics/BlockNesting:
|
|
Max: 5
|
|
|
|
# Offense count: 20
|
|
# Configuration parameters: CountComments.
|
|
Metrics/ModuleLength:
|
|
Max: 370
|
|
|
|
# Offense count: 2
|
|
# Configuration parameters: CountKeywordArgs.
|
|
Metrics/ParameterLists:
|
|
Max: 6
|
|
|
|
# Offense count: 1
|
|
Style/CaseEquality:
|
|
Exclude:
|
|
- 'Homebrew/compilers.rb'
|
|
|
|
# Offense count: 11
|
|
Style/ClassVars:
|
|
Exclude:
|
|
- 'Homebrew/cleanup.rb'
|
|
- 'Homebrew/dev-cmd/audit.rb'
|
|
- 'Homebrew/dev-cmd/test-bot.rb'
|
|
- 'Homebrew/formula_installer.rb'
|
|
- 'Homebrew/test/testing_env.rb'
|
|
- 'Homebrew/utils.rb'
|
|
|
|
# Offense count: 13
|
|
# Configuration parameters: AllowedVariables.
|
|
Style/GlobalVars:
|
|
Exclude:
|
|
- 'Homebrew/diagnostic.rb'
|
|
- 'Homebrew/utils.rb'
|
|
|
|
# Offense count: 51
|
|
# Cop supports --auto-correct.
|
|
# Configuration parameters: MaxLineLength.
|
|
Style/IfUnlessModifier:
|
|
Exclude:
|
|
- 'Taps/**/*'
|
|
- 'Homebrew/dev-cmd/audit.rb'
|
|
|
|
# Offense count: 2
|
|
# Cop supports --auto-correct.
|
|
# Configuration parameters: SupportedStyles, IndentationWidth.
|
|
# SupportedStyles: special_inside_parentheses, consistent, align_brackets
|
|
Style/IndentArray:
|
|
EnforcedStyle: special_inside_parentheses
|
|
|
|
# Offense count: 7
|
|
# Configuration parameters: EnforcedStyle, SupportedStyles.
|
|
# SupportedStyles: module_function, extend_self
|
|
Style/ModuleFunction:
|
|
Exclude:
|
|
- 'Homebrew/global.rb'
|
|
- 'Homebrew/os/mac/xcode.rb'
|
|
- 'Homebrew/os/mac/xquartz.rb'
|
|
|
|
# Offense count: 8
|
|
Style/MultilineBlockChain:
|
|
Exclude:
|
|
- 'Homebrew/cmd/search.rb'
|
|
- 'Homebrew/dev-cmd/aspell-dictionaries.rb'
|
|
- 'Homebrew/dev-cmd/audit.rb'
|
|
- 'Homebrew/dev-cmd/man.rb'
|
|
- 'Homebrew/diagnostic.rb'
|
|
- 'Homebrew/test/test_patching.rb'
|
|
|
|
# Offense count: 4
|
|
# Cop supports --auto-correct.
|
|
Style/MutableConstant:
|
|
Exclude:
|
|
- 'Homebrew/dependency_collector.rb'
|
|
- 'Homebrew/formulary.rb'
|
|
- 'Homebrew/tab.rb'
|
|
- 'Homebrew/tap.rb'
|
|
|
|
# Offense count: 9
|
|
Style/OpMethod:
|
|
Exclude:
|
|
- 'Homebrew/compilers.rb'
|
|
- 'Homebrew/dependencies.rb'
|
|
- 'Homebrew/install_renamed.rb'
|
|
- 'Homebrew/options.rb'
|
|
|
|
# Offense count: 2
|
|
# Cop supports --auto-correct.
|
|
# Configuration parameters: SupportedStyles.
|
|
# SupportedStyles: use_perl_names, use_english_names
|
|
Style/SpecialGlobalVars:
|
|
EnforcedStyle: use_perl_names
|