Enable the Lint/ParenthesesAsGroupedExpression cop

This commit is contained in:
gregoirenovel 2018-12-24 17:36:18 +01:00 committed by Pierre de La Morinerie
parent 186e362701
commit d473119f9d
2 changed files with 4 additions and 2 deletions

View file

@ -394,7 +394,9 @@ Lint/OrderedMagicComments:
Enabled: true
Lint/ParenthesesAsGroupedExpression:
Enabled: false
Enabled: true
Exclude:
- "spec/**/*"
Lint/PercentStringArray:
Enabled: false

View file

@ -2,7 +2,7 @@ class AdminController < ApplicationController
before_action :authenticate_administrateur!
def index
redirect_to (admin_procedures_path)
redirect_to(admin_procedures_path)
end
def retrieve_procedure