Skip to content

Commit

Permalink
[disabled] useless cops
Browse files Browse the repository at this point in the history
- mutable constant related cop
- documentation cop
- method naming cop
- module function cop
- hash syntax cop
  • Loading branch information
julienemo committed Apr 5, 2020
1 parent 27ccb0a commit 36fabe4
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 25 deletions.
11 changes: 10 additions & 1 deletion .rubocop.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,19 @@
inherit_from: .rubocop_todo.yml

Naming/AccessorMethodName:
Enabled: false

Style/Documentation:
Enabled: false

Style/HashSyntax:
Enabled: false

Style/ModuleFunction:
Enabled: false

Style/StringLiterals:
EnforcedStyle: single_quotes

Style/StringLiteralsInInterpolation:
EnforcedStyle: double_quotes
EnforcedStyle: double_quotes
24 changes: 0 additions & 24 deletions .rubocop_todo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,30 +16,6 @@ Metrics/AbcSize:
Metrics/MethodLength:
Max: 11

# Offense count: 1
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle, UseHashRocketsWithSymbolValues, PreferHashRocketsForNonAlnumEndingSymbols.
# SupportedStyles: ruby19, hash_rockets, no_mixed_keys, ruby19_no_mixed_keys
Style/HashSyntax:
Exclude:
- 'Rakefile'

# Offense count: 1
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle, Autocorrect.
# SupportedStyles: module_function, extend_self, forbidden
Style/ModuleFunction:
Exclude:
- 'lib/puma_worker_killer.rb'

# Offense count: 1
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle.
# SupportedStyles: literals, strict
Style/MutableConstant:
Exclude:
- 'lib/puma_worker_killer/version.rb'

# Offense count: 32
# Cop supports --auto-correct.
# Configuration parameters: AutoCorrect, AllowHeredoc, AllowURI, URISchemes, IgnoreCopDirectives, IgnoredPatterns.
Expand Down

0 comments on commit 36fabe4

Please sign in to comment.