Kaynağa Gözat

Layout/TrailingBlankLines

Maarten van den Berg 6 yıl önce
ebeveyn
işleme
a5c60222ac

+ 0 - 21
.rubocop.yml

@@ -188,27 +188,6 @@ Layout/Tab:
188 188
   Exclude:
189 189
     - 'config/puma.rb'
190 190
 
191
-# Offense count: 14
192
-# Cop supports --auto-correct.
193
-# Configuration parameters: EnforcedStyle.
194
-# SupportedStyles: final_newline, final_blank_line
195
-Layout/TrailingBlankLines:
196
-  Exclude:
197
-    - 'app/views/activities/_activity.json.jbuilder'
198
-    - 'app/views/activities/index.json.jbuilder'
199
-    - 'app/views/activities/show.json.jbuilder'
200
-    - 'app/views/api/activities/index.rabl'
201
-    - 'app/views/groups/_group.json.jbuilder'
202
-    - 'app/views/groups/index.json.jbuilder'
203
-    - 'app/views/groups/show.json.jbuilder'
204
-    - 'app/views/members/_member.json.jbuilder'
205
-    - 'app/views/members/index.json.jbuilder'
206
-    - 'app/views/members/show.json.jbuilder'
207
-    - 'app/views/people/_person.json.jbuilder'
208
-    - 'app/views/people/index.json.jbuilder'
209
-    - 'app/views/people/show.json.jbuilder'
210
-    - 'db/migrate/20181104220610_generate_group_api_tokens.rb'
211
-
212 191
 # Offense count: 1
213 192
 # Configuration parameters: AllowSafeAssignment.
214 193
 Lint/AssignmentInCondition:

+ 1 - 1
app/views/api/activities/index.rabl

@@ -7,4 +7,4 @@ node :no_response_action do |a|
7 7
     true => "present",
8 8
     false => "absent"
9 9
   }[a.no_response_action]
10
-end
10
+end

+ 1 - 1
db/migrate/20181104220610_generate_group_api_tokens.rb

@@ -6,4 +6,4 @@ class GenerateGroupApiTokens < ActiveRecord::Migration[5.0]
6 6
 
7 7
   # No-op
8 8
   def down; end
9
-end
9
+end