Skip to content

Commit

Permalink
Generate Rubocop todo file
Browse files Browse the repository at this point in the history
Generate Rubocop todo file from latest version of Rubocop. Latest
version of Rubocop doesn't support Ruby 2.2 (EOL June 2018), so this
also updates the Ruby dependency going forward to be Ruby 2.3+.

Rubocop todo files help facilitate addressing a large number of style
violations by allowing documented violations. The strategy of a todo
file is to incrementally address violations while preventing violations
of new code.
  • Loading branch information
johnny-1111one1 committed Sep 19, 2019
1 parent d27e3fe commit ddf1d32
Show file tree
Hide file tree
Showing 3 changed files with 770 additions and 9 deletions.
20 changes: 13 additions & 7 deletions .rubocop.yml
Original file line number Diff line number Diff line change
@@ -1,16 +1,22 @@
inherit_from: .rubocop_todo.yml

Layout/SpaceBeforeBlockBraces:
Enabled: false

# NOTE: Temporarily duplicated from `rubocop_todo.yml` because many files exceed
# 120 characters
# Metrics/LineLength:
# Max: 120

Naming/PredicateName:
NameWhitelist:
- is_enabled?

Metrics/LineLength:
Max: 120

Style/RedundantSelf:
Enabled: false
Style/PreferredHashMethods:
Enabled: false
Style/StringLiterals:

Style/RedundantSelf:
Enabled: false

Layout/SpaceBeforeBlockBraces:
Style/StringLiterals:
Enabled: false
Loading

0 comments on commit ddf1d32

Please sign in to comment.