Add .rubocop_todo.yml for documentation.
This commit is contained in:
parent
5410701eff
commit
097ef39bab
@ -27,5 +27,9 @@ Cask/StanzaOrder:
|
||||
# don't want these for casks but re-enabled for Library/Homebrew
|
||||
Style/FrozenStringLiteralComment:
|
||||
Enabled: false
|
||||
|
||||
Style/Documentation:
|
||||
Enabled: false
|
||||
|
||||
Metrics/BlockLength:
|
||||
Enabled: false
|
||||
|
||||
@ -1,4 +1,6 @@
|
||||
inherit_from: ../.rubocop_rspec.yml
|
||||
inherit_from:
|
||||
- ../.rubocop_rspec.yml
|
||||
- .rubocop_todo.yml
|
||||
|
||||
AllCops:
|
||||
Include:
|
||||
@ -105,12 +107,6 @@ Naming/MethodParameterName:
|
||||
Style/AccessModifierDeclarations:
|
||||
Enabled: false
|
||||
|
||||
# make rspec formatting more flexible
|
||||
Style/BlockDelimiters:
|
||||
Exclude:
|
||||
- '**/*_spec.rb'
|
||||
- '**/shared_examples/**/*.rb'
|
||||
|
||||
# don't group nicely documented or private attr_readers
|
||||
Style/AccessorGrouping:
|
||||
Exclude:
|
||||
@ -121,11 +117,16 @@ Style/AccessorGrouping:
|
||||
- 'system_command.rb'
|
||||
- 'tap.rb'
|
||||
|
||||
# make rspec formatting more flexible
|
||||
Style/BlockDelimiters:
|
||||
Exclude:
|
||||
- '**/*_spec.rb'
|
||||
- '**/shared_examples/**/*.rb'
|
||||
|
||||
# document our public APIs
|
||||
Style/Documentation:
|
||||
Enabled: true
|
||||
Include:
|
||||
- 'formula.rb'
|
||||
|
||||
Style/DocumentationMethod:
|
||||
Enabled: true
|
||||
Include:
|
||||
|
||||
31
Library/Homebrew/.rubocop_todo.yml
Normal file
31
Library/Homebrew/.rubocop_todo.yml
Normal file
@ -0,0 +1,31 @@
|
||||
Style/Documentation:
|
||||
Exclude:
|
||||
- 'compat/**/*.rb'
|
||||
- 'extend/**/*.rb'
|
||||
- 'cmd/**/*.rb'
|
||||
- 'dev-cmd/**/*.rb'
|
||||
- 'test/**/*.rb'
|
||||
- 'cask/macos.rb'
|
||||
- 'cli/args.rb'
|
||||
- 'cli/parser.rb'
|
||||
- 'download_strategy.rb'
|
||||
- 'global.rb'
|
||||
- 'keg_relocate.rb'
|
||||
- 'os/linux/global.rb'
|
||||
- 'os/mac/architecture_list.rb'
|
||||
- 'os/mac/keg.rb'
|
||||
- 'reinstall.rb'
|
||||
- 'software_spec.rb'
|
||||
- 'upgrade.rb'
|
||||
- 'utils.rb'
|
||||
- 'utils/fork.rb'
|
||||
- 'utils/gems.rb'
|
||||
- 'utils/notability.rb'
|
||||
- 'utils/popen.rb'
|
||||
- 'utils/pypi.rb'
|
||||
- 'utils/shebang.rb'
|
||||
- 'utils/shell.rb'
|
||||
- 'utils/spdx.rb'
|
||||
- 'utils/livecheck_formula.rb'
|
||||
- 'utils/repology.rb'
|
||||
- 'version.rb'
|
||||
Loading…
x
Reference in New Issue
Block a user