Maintenance: Activated rubocop Layout/SpaceAfterMethodName.

This commit is contained in:
Thorsten Eckel 2021-07-16 15:33:48 +02:00 committed by Martin Gruner
parent e63510c4d0
commit d4732f7d9a
4 changed files with 3 additions and 10 deletions

View file

@ -86,13 +86,6 @@ Layout/SpaceInsideParens:
StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#no-spaces-braces'
Enabled: false
Layout/SpaceAfterMethodName:
Description: >-
Do not put a space between a method name and the opening
parenthesis in a method definition.
StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#parens-no-spaces'
Enabled: false
Layout/LeadingCommentSpace:
Description: 'Comments should start with a space.'
StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#hash-space'

View file

@ -78,7 +78,7 @@ module ApplicationController::RendersModels
model_destroy_render_item()
end
def model_destroy_render_item ()
def model_destroy_render_item()
render json: {}, status: :ok
end

View file

@ -22,7 +22,7 @@ returns
=end
def assets (data)
def assets(data)
app_model_sla = Sla.to_app_model

View file

@ -22,7 +22,7 @@ returns
=end
def assets (data)
def assets(data)
return data if assets_added_to?(data)
app_model = User.to_app_model