Skip to content
Snippets Groups Projects
Commit 8348e1a9 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets
Browse files

Enable ParenthesesAsGroupedExpression rule

parent 704d21f5
No related branches found
No related tags found
No related merge requests found
Loading
@@ -877,7 +877,7 @@ Lint/ParenthesesAsGroupedExpression:
Loading
@@ -877,7 +877,7 @@ Lint/ParenthesesAsGroupedExpression:
Checks for method calls with a space before the opening Checks for method calls with a space before the opening
parenthesis. parenthesis.
StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#parens-no-spaces' StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#parens-no-spaces'
Enabled: false Enabled: true
   
Lint/RequireParentheses: Lint/RequireParentheses:
Description: >- Description: >-
Loading
Loading
Loading
@@ -143,7 +143,7 @@ module API
Loading
@@ -143,7 +143,7 @@ module API
   
class ProjectEntity < Grape::Entity class ProjectEntity < Grape::Entity
expose :id, :iid expose :id, :iid
expose (:project_id) { |entity| entity.project.id } expose(:project_id) { |entity| entity.project.id }
expose :title, :description expose :title, :description
expose :state, :created_at, :updated_at expose :state, :created_at, :updated_at
end end
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment