Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit ddf1d32

Browse files
committedSep 19, 2019
Generate Rubocop todo file
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.
1 parent d27e3fe commit ddf1d32

File tree

3 files changed

+770
-9
lines changed

3 files changed

+770
-9
lines changed
 

Diff for: ‎.rubocop.yml

+13-7
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,22 @@
1+
inherit_from: .rubocop_todo.yml
2+
3+
Layout/SpaceBeforeBlockBraces:
4+
Enabled: false
5+
6+
# NOTE: Temporarily duplicated from `rubocop_todo.yml` because many files exceed
7+
# 120 characters
8+
# Metrics/LineLength:
9+
# Max: 120
10+
111
Naming/PredicateName:
212
NameWhitelist:
313
- is_enabled?
414

5-
Metrics/LineLength:
6-
Max: 120
7-
8-
Style/RedundantSelf:
9-
Enabled: false
1015
Style/PreferredHashMethods:
1116
Enabled: false
12-
Style/StringLiterals:
17+
18+
Style/RedundantSelf:
1319
Enabled: false
1420

15-
Layout/SpaceBeforeBlockBraces:
21+
Style/StringLiterals:
1622
Enabled: false

0 commit comments

Comments
 (0)
Please sign in to comment.