Skip to content

Commit 60e39ef

Browse files
committed
Update .rubocop_todo.yml
1 parent c196d5c commit 60e39ef

2 files changed

Lines changed: 3 additions & 83 deletions

File tree

.rubocop.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# inherit_from: .rubocop_todo.yml
1+
inherit_from: .rubocop_todo.yml
22

33
AllCops:
44
TargetRubyVersion: 2.3

.rubocop_todo.yml

Lines changed: 2 additions & 82 deletions
Original file line numberDiff line numberDiff line change
@@ -1,108 +1,28 @@
11
# This configuration was generated by
22
# `rubocop --auto-gen-config`
3-
# on 2016-08-29 13:11:03 +0900 using RuboCop version 0.42.0.
3+
# on 2016-08-30 16:55:44 +0900 using RuboCop version 0.42.0.
44
# The point is for the user to remove these configuration records
55
# one by one as the offenses are removed from the code base.
66
# Note that changes in the inspected code, or installation of new
77
# versions of RuboCop, may require this file to be generated again.
88

9-
# Offense count: 2
10-
# Configuration parameters: AllowSafeAssignment.
11-
Lint/AssignmentInCondition:
12-
Exclude:
13-
- 'app/channels/application_cable/connection.rb'
14-
- 'app/helpers/emoji_helper.rb'
15-
16-
# Offense count: 3
17-
Lint/UselessAssignment:
18-
Exclude:
19-
- 'app/helpers/auto_link_helper.rb'
20-
21-
# Offense count: 1
22-
Metrics/AbcSize:
23-
Max: 17
24-
25-
# Offense count: 2
26-
# Configuration parameters: AllowHeredoc, AllowURI, URISchemes.
27-
# URISchemes: http, https
28-
Metrics/LineLength:
29-
Max: 278
30-
319
# Offense count: 1
3210
# Configuration parameters: ExpectMatchingDefinition, Regex, IgnoreExecutableScripts.
3311
Style/FileName:
3412
Exclude:
3513
- 'config/initializers/slack-ruby-client.rb'
3614

37-
# Offense count: 3
38-
# Cop supports --auto-correct.
39-
# Configuration parameters: EnforcedStyle, SupportedStyles, UseHashRocketsWithSymbolValues, PreferHashRocketsForNonAlnumEndingSymbols.
40-
# SupportedStyles: ruby19, ruby19_no_mixed_keys, hash_rockets
41-
Style/HashSyntax:
42-
Exclude:
43-
- 'db/migrate/20160414062322_sorcery_core.rb'
44-
- 'db/migrate/20160414062855_sorcery_external.rb'
45-
46-
# Offense count: 2
47-
# Cop supports --auto-correct.
48-
# Configuration parameters: SupportedStyles, IndentationWidth.
49-
# SupportedStyles: special_inside_parentheses, consistent, align_brackets
50-
Style/IndentArray:
51-
EnforcedStyle: consistent
52-
53-
# Offense count: 5
54-
# Cop supports --auto-correct.
55-
# Configuration parameters: Width.
56-
Style/IndentationWidth:
57-
Exclude:
58-
- 'app/channels/application_cable/connection.rb'
59-
- 'app/controllers/application_controller.rb'
60-
- 'app/controllers/posts_controller.rb'
61-
- 'app/jobs/post_preview_job.rb'
62-
- 'db/migrate/20160827120217_create_versions.rb'
63-
64-
# Offense count: 2
65-
# Cop supports --auto-correct.
66-
Style/RedundantSelf:
67-
Exclude:
68-
- 'app/models/post.rb'
69-
70-
# Offense count: 3
71-
# Cop supports --auto-correct.
72-
# Configuration parameters: AllowForAlignment.
73-
Style/SpaceAroundOperators:
74-
Exclude:
75-
- 'app/helpers/auto_link_helper.rb'
76-
7715
# Offense count: 4
7816
# Cop supports --auto-correct.
7917
Style/SpaceInsideBrackets:
8018
Exclude:
8119
- 'config/environments/production.rb'
8220

83-
# Offense count: 6
84-
# Cop supports --auto-correct.
85-
Style/SpaceInsidePercentLiteralDelimiters:
86-
Exclude:
87-
- 'app/controllers/posts_controller.rb'
88-
- 'config/initializers/assets.rb'
89-
- 'config/routes.rb'
90-
91-
# Offense count: 10
21+
# Offense count: 7
9222
# Cop supports --auto-correct.
9323
# Configuration parameters: EnforcedStyle, SupportedStyles, ConsistentQuotesInMultiline.
9424
# SupportedStyles: single_quotes, double_quotes
9525
Style/StringLiterals:
9626
Exclude:
9727
- 'config/environments/production.rb'
9828
- 'config/puma.rb'
99-
- 'db/migrate/20160827120217_create_versions.rb'
100-
101-
# Offense count: 2
102-
# Cop supports --auto-correct.
103-
# Configuration parameters: EnforcedStyle, SupportedStyles.
104-
# SupportedStyles: final_newline, final_blank_line
105-
Style/TrailingBlankLines:
106-
Exclude:
107-
- 'app/helpers/markdown_helper.rb'
108-
- 'db/migrate/20160414062322_sorcery_core.rb'

0 commit comments

Comments
 (0)