From 9658f1083886d2d680c531ca328fda2767cc8e99 Mon Sep 17 00:00:00 2001 From: Andreas Nedbal Date: Sun, 15 Oct 2023 10:34:19 +0200 Subject: [PATCH] Don't check `Style/RedundantSelf` in the models directory --- .rubocop.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.rubocop.yml b/.rubocop.yml index 41696d20..12052185 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -123,3 +123,7 @@ Style/TrailingCommaInHashLiteral: Style/TrailingCommaInArguments: EnforcedStyleForMultiline: consistent_comma + +Style/RedundantSelf: + Exclude: + - app/models/**/*