Commit 2f4656b5 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

Merge branch 'strict-rubocop-rules' into 'master'

Enable ParenthesesAsGroupedExpression rule

See merge request !1617
parents d874c821 8348e1a9
Pipeline #3800 passed with stage
......@@ -877,7 +877,7 @@ Lint/ParenthesesAsGroupedExpression:
Checks for method calls with a space before the opening
parenthesis.
StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#parens-no-spaces'
Enabled: false
Enabled: true
Lint/RequireParentheses:
Description: >-
......
......@@ -143,7 +143,7 @@ module API
class ProjectEntity < Grape::Entity
expose :id, :iid
expose (:project_id) { |entity| entity.project.id }
expose(:project_id) { |entity| entity.project.id }
expose :title, :description
expose :state, :created_at, :updated_at
end
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment