From 45882e293553975cf2337f07ba3318866cf685bc Mon Sep 17 00:00:00 2001 From: Alexander Meindl Date: Mon, 11 Dec 2023 18:57:03 +0100 Subject: [PATCH] fix rubocop offenses --- .rubocop.yml | 3 +++ app/models/issue_view_column.rb | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/.rubocop.yml b/.rubocop.yml index 6e8ec38..e4c6ba3 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -125,6 +125,9 @@ Style/MethodCallWithArgsParentheses: AllowParenthesesInChaining: true EnforcedStyle: omit_parentheses +Style/SuperWithArgsParentheses: + Enabled: false + Style/Documentation: Enabled: false diff --git a/app/models/issue_view_column.rb b/app/models/issue_view_column.rb index 43561c6..148460c 100644 --- a/app/models/issue_view_column.rb +++ b/app/models/issue_view_column.rb @@ -3,5 +3,5 @@ class IssueViewColumn < ActiveRecord::Base belongs_to :project - scope :sorted, (-> { order :position }) + scope :sorted, -> { order :position } end