212 lines
5.0 KiB
YAML
212 lines
5.0 KiB
YAML
|
|
# This configuration was generated by
|
||
|
|
# `rubocop --auto-gen-config --exclude-limit 100`
|
||
|
|
# on 2016-09-28 22:26:33 +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: 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'
|
||
|
|
- 'test/test_ENV.rb'
|
||
|
|
|
||
|
|
# 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'
|
||
|
|
- 'test/test_ENV.rb'
|
||
|
|
- '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:
|
||
|
|
Max: 366
|
||
|
|
|
||
|
|
# 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'
|
||
|
|
|
||
|
|
# Offense count: 134
|
||
|
|
# Cop supports --auto-correct.
|
||
|
|
# Configuration parameters: EnforcedStyle, SupportedStyles, ProceduralMethods, FunctionalMethods, IgnoredMethods.
|
||
|
|
# SupportedStyles: line_count_based, semantic, braces_for_chaining
|
||
|
|
# ProceduralMethods: benchmark, bm, bmbm, create, each_with_object, measure, new, realtime, tap, with_object
|
||
|
|
# FunctionalMethods: let, let!, subject, watch
|
||
|
|
# IgnoredMethods: lambda, proc, it
|
||
|
|
Style/BlockDelimiters:
|
||
|
|
Exclude:
|
||
|
|
- 'caveats.rb'
|
||
|
|
- 'cleaner.rb'
|
||
|
|
- 'cleanup.rb'
|
||
|
|
- 'cmd/deps.rb'
|
||
|
|
- 'cmd/desc.rb'
|
||
|
|
- 'cmd/fetch.rb'
|
||
|
|
- 'cmd/help.rb'
|
||
|
|
- 'cmd/info.rb'
|
||
|
|
- 'cmd/linkapps.rb'
|
||
|
|
- 'cmd/list.rb'
|
||
|
|
- 'cmd/outdated.rb'
|
||
|
|
- 'cmd/reinstall.rb'
|
||
|
|
- 'cmd/search.rb'
|
||
|
|
- 'cmd/tap-info.rb'
|
||
|
|
- 'cmd/unlinkapps.rb'
|
||
|
|
- 'cmd/update-report.rb'
|
||
|
|
- 'cmd/upgrade.rb'
|
||
|
|
- 'cmd/uses.rb'
|
||
|
|
- 'compilers.rb'
|
||
|
|
- 'debrew.rb'
|
||
|
|
- 'descriptions.rb'
|
||
|
|
- 'dev-cmd/aspell-dictionaries.rb'
|
||
|
|
- 'dev-cmd/audit.rb'
|
||
|
|
- 'dev-cmd/bottle.rb'
|
||
|
|
- 'dev-cmd/edit.rb'
|
||
|
|
- 'dev-cmd/man.rb'
|
||
|
|
- 'diagnostic.rb'
|
||
|
|
- 'exceptions.rb'
|
||
|
|
- 'extend/ARGV.rb'
|
||
|
|
- 'extend/ENV/shared.rb'
|
||
|
|
- 'extend/ENV/std.rb'
|
||
|
|
- 'extend/fileutils.rb'
|
||
|
|
- 'extend/os/mac/formula_cellar_checks.rb'
|
||
|
|
- 'extend/pathname.rb'
|
||
|
|
- 'formula.rb'
|
||
|
|
- 'formula_assertions.rb'
|
||
|
|
- 'formula_cellar_checks.rb'
|
||
|
|
- 'formula_installer.rb'
|
||
|
|
- 'formulary.rb'
|
||
|
|
- 'global.rb'
|
||
|
|
- 'keg.rb'
|
||
|
|
- 'language/haskell.rb'
|
||
|
|
- 'language/node.rb'
|
||
|
|
- 'language/python.rb'
|
||
|
|
- 'migrator.rb'
|
||
|
|
- 'os/mac/linkage_checker.rb'
|
||
|
|
- 'os/mac/xquartz.rb'
|
||
|
|
- 'patch.rb'
|
||
|
|
- 'readall.rb'
|
||
|
|
- 'software_spec.rb'
|
||
|
|
- 'tap.rb'
|
||
|
|
- 'test/lib/config.rb'
|
||
|
|
- 'test/test_ARGV.rb'
|
||
|
|
- 'test/test_cleanup.rb'
|
||
|
|
- 'test/test_dependency_collector.rb'
|
||
|
|
- 'test/test_formula_installer.rb'
|
||
|
|
- 'test/test_formula_installer_bottle.rb'
|
||
|
|
- 'test/test_formulary.rb'
|
||
|
|
- 'test/test_gpg.rb'
|
||
|
|
- 'test/test_migrator.rb'
|
||
|
|
- 'test/test_pathname.rb'
|
||
|
|
- 'test/test_tap.rb'
|
||
|
|
- 'test/test_utils.rb'
|
||
|
|
- 'test/testing_env.rb'
|
||
|
|
- 'utils.rb'
|
||
|
|
- 'utils/github.rb'
|
||
|
|
|
||
|
|
# Offense count: 7
|
||
|
|
Style/ClassVars:
|
||
|
|
Exclude:
|
||
|
|
- 'dev-cmd/audit.rb'
|
||
|
|
- 'formula_installer.rb'
|
||
|
|
- 'test/testing_env.rb'
|
||
|
|
- 'utils.rb'
|
||
|
|
|
||
|
|
# Offense count: 13
|
||
|
|
# Configuration parameters: AllowedVariables.
|
||
|
|
Style/GlobalVars:
|
||
|
|
Exclude:
|
||
|
|
- 'diagnostic.rb'
|
||
|
|
- 'utils.rb'
|
||
|
|
|
||
|
|
# Offense count: 2
|
||
|
|
# Configuration parameters: EnforcedStyle, SupportedStyles.
|
||
|
|
# SupportedStyles: module_function, extend_self
|
||
|
|
Style/ModuleFunction:
|
||
|
|
Exclude:
|
||
|
|
- 'global.rb'
|
||
|
|
- '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'
|
||
|
|
- 'test/test_patching.rb'
|
||
|
|
|
||
|
|
# 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'
|