Skip to content

Commit

Permalink
rubocop: disable Style/PredicateName
Browse files Browse the repository at this point in the history
  • Loading branch information
lsegal committed Aug 11, 2016
1 parent 4be2919 commit e241c0b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 19 deletions.
2 changes: 2 additions & 0 deletions .rubocop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ Style/MultilineMethodCallIndentation:
EnforcedStyle: indented

# Disable these until we know what to do with them
Style/PredicateName: # this creates breaking changes in the API
Enabled: false
Style/MutableConstant:
Enabled: false
Style/FrozenStringLiteralComment:
Expand Down
19 changes: 0 additions & 19 deletions .rubocop_todo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -788,25 +788,6 @@ Style/PercentLiteralDelimiters:
- 'lib/yard/templates/helpers/html_helper.rb'
- 'spec/tags/directives_spec.rb'

# Offense count: 18
# Configuration parameters: NamePrefix, NamePrefixBlacklist, NameWhitelist.
# NamePrefix: is_, has_, have_
# NamePrefixBlacklist: is_, has_, have_
# NameWhitelist: is_a?
Style/PredicateName:
Exclude:
- 'spec/**/*'
- 'lib/yard/code_objects/base.rb'
- 'lib/yard/code_objects/class_object.rb'
- 'lib/yard/code_objects/method_object.rb'
- 'lib/yard/core_ext/symbol_hash.rb'
- 'lib/yard/docstring.rb'
- 'lib/yard/parser/ruby/ast_node.rb'
- 'lib/yard/rubygems/specification.rb'
- 'lib/yard/tags/library.rb'
- 'lib/yard/tags/overload_tag.rb'
- 'lib/yard/templates/helpers/filter_helper.rb'

# Offense count: 12
# Cop supports --auto-correct.
Style/PreferredHashMethods:
Expand Down

0 comments on commit e241c0b

Please sign in to comment.