|
1 | 1 | # This configuration was generated by |
2 | 2 | # `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. |
4 | 4 | # The point is for the user to remove these configuration records |
5 | 5 | # one by one as the offenses are removed from the code base. |
6 | 6 | # Note that changes in the inspected code, or installation of new |
7 | 7 | # versions of RuboCop, may require this file to be generated again. |
8 | 8 |
|
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 | | - |
31 | 9 | # Offense count: 1 |
32 | 10 | # Configuration parameters: ExpectMatchingDefinition, Regex, IgnoreExecutableScripts. |
33 | 11 | Style/FileName: |
34 | 12 | Exclude: |
35 | 13 | - 'config/initializers/slack-ruby-client.rb' |
36 | 14 |
|
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 | | - |
77 | 15 | # Offense count: 4 |
78 | 16 | # Cop supports --auto-correct. |
79 | 17 | Style/SpaceInsideBrackets: |
80 | 18 | Exclude: |
81 | 19 | - 'config/environments/production.rb' |
82 | 20 |
|
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 |
92 | 22 | # Cop supports --auto-correct. |
93 | 23 | # Configuration parameters: EnforcedStyle, SupportedStyles, ConsistentQuotesInMultiline. |
94 | 24 | # SupportedStyles: single_quotes, double_quotes |
95 | 25 | Style/StringLiterals: |
96 | 26 | Exclude: |
97 | 27 | - 'config/environments/production.rb' |
98 | 28 | - '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