From ff35e220e1d6a05d3ed9705af6bfb26976728442 Mon Sep 17 00:00:00 2001 From: Geremia Taglialatela Date: Thu, 28 Mar 2024 15:00:23 +0100 Subject: [PATCH] Fix RuboCop config --- .rubocop.yml | 9 ++++++--- .../templates/client_side_validations/initializer.rb | 1 + 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/.rubocop.yml b/.rubocop.yml index e842f0b7..790124c1 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -12,9 +12,12 @@ AllCops: DisplayStyleGuide: true ExtraDetails: true Exclude: - - 'gemfiles/**/*' - - 'node_modules/**/*' - - 'vendor/bundle/**/*' + - .git/**/* + - gemfiles/**/* + - node_modules/**/* + - test/generators/tmp/**/* + - tmp/**/* + - vendor/**/* Layout/HashAlignment: EnforcedColonStyle: table diff --git a/lib/generators/templates/client_side_validations/initializer.rb b/lib/generators/templates/client_side_validations/initializer.rb index 285fccfe..90c2b10d 100644 --- a/lib/generators/templates/client_side_validations/initializer.rb +++ b/lib/generators/templates/client_side_validations/initializer.rb @@ -1,4 +1,5 @@ # frozen_string_literal: true + # ClientSideValidations Initializer # Disabled validators