Enable the Layout/ExtraSpacing cop
Signed-off-by: Rémy Coutable <remy@rymai.me>
This commit is contained in:
parent
16ab0050f6
commit
3a2abc1d50
|
|
@ -15,12 +15,6 @@ Capybara/CurrentPathExpectation:
|
|||
Layout/EmptyLinesAroundArguments:
|
||||
Enabled: false
|
||||
|
||||
# Offense count: 253
|
||||
# Cop supports --auto-correct.
|
||||
# Configuration parameters: AllowForAlignment, ForceEqualSignAlignment.
|
||||
Layout/ExtraSpacing:
|
||||
Enabled: false
|
||||
|
||||
# Offense count: 83
|
||||
# Cop supports --auto-correct.
|
||||
# Configuration parameters: EnforcedStyle, IndentationWidth.
|
||||
|
|
|
|||
|
|
@ -24,4 +24,3 @@
|
|||
- else
|
||||
= f.submit 'Update milestone', class: "btn-success btn"
|
||||
= link_to "Cancel", group_milestone_path(@group, @milestone), class: "btn btn-cancel"
|
||||
|
||||
|
|
|
|||
|
|
@ -43,24 +43,21 @@
|
|||
- continue_params = { to: project_new_blob_path(@project, @id),
|
||||
notice: edit_in_new_fork_notice,
|
||||
notice_now: edit_in_new_fork_notice_now }
|
||||
- fork_path = project_forks_path(@project, namespace_key: current_user.namespace.id,
|
||||
continue: continue_params)
|
||||
- fork_path = project_forks_path(@project, namespace_key: current_user.namespace.id, continue: continue_params)
|
||||
= link_to fork_path, method: :post do
|
||||
#{ _('New file') }
|
||||
%li
|
||||
- continue_params = { to: request.fullpath,
|
||||
notice: edit_in_new_fork_notice + " Try to upload a file again.",
|
||||
notice_now: edit_in_new_fork_notice_now }
|
||||
- fork_path = project_forks_path(@project, namespace_key: current_user.namespace.id,
|
||||
continue: continue_params)
|
||||
- fork_path = project_forks_path(@project, namespace_key: current_user.namespace.id, continue: continue_params)
|
||||
= link_to fork_path, method: :post do
|
||||
#{ _('Upload file') }
|
||||
%li
|
||||
- continue_params = { to: request.fullpath,
|
||||
notice: edit_in_new_fork_notice + " Try to create a new directory again.",
|
||||
notice_now: edit_in_new_fork_notice_now }
|
||||
- fork_path = project_forks_path(@project, namespace_key: current_user.namespace.id,
|
||||
continue: continue_params)
|
||||
- fork_path = project_forks_path(@project, namespace_key: current_user.namespace.id, continue: continue_params)
|
||||
= link_to fork_path, method: :post do
|
||||
#{ _('New directory') }
|
||||
|
||||
|
|
|
|||
|
|
@ -50,4 +50,3 @@
|
|||
|
||||
= hidden_field_tag "update[issuable_ids]", []
|
||||
= hidden_field_tag :state_event, params[:state_event]
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue