Skip to content
Snippets Groups Projects
Commit 097ef39b authored by Markus Reiter's avatar Markus Reiter
Browse files

Add `.rubocop_todo.yml` for documentation.

parent 5410701e
No related branches found
No related tags found
No related merge requests found
......@@ -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
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:
......
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'
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment