Browse Source

Layout/TrailingBlankLines

Maarten van den Berg 6 years ago
parent
commit
a5c60222ac

+ 0 - 21
.rubocop.yml

188
   Exclude:
188
   Exclude:
189
     - 'config/puma.rb'
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
 # Offense count: 1
191
 # Offense count: 1
213
 # Configuration parameters: AllowSafeAssignment.
192
 # Configuration parameters: AllowSafeAssignment.
214
 Lint/AssignmentInCondition:
193
 Lint/AssignmentInCondition:

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

7
     true => "present",
7
     true => "present",
8
     false => "absent"
8
     false => "absent"
9
   }[a.no_response_action]
9
   }[a.no_response_action]
10
-end
10
+end

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

6
 
6
 
7
   # No-op
7
   # No-op
8
   def down; end
8
   def down; end
9
-end
9
+end