From 59fc7694ea20d3482faceb948334d59d05116a49 Mon Sep 17 00:00:00 2001 From: Gareth Jones Date: Fri, 6 Dec 2024 15:34:55 +1300 Subject: [PATCH] fix: rename `erb-lint` config --- template.rb | 2 +- variants/backend-base/{.erb-lint.yml => .erb_lint.yml} | 0 2 files changed, 1 insertion(+), 1 deletion(-) rename variants/backend-base/{.erb-lint.yml => .erb_lint.yml} (100%) diff --git a/template.rb b/template.rb index 55d58014..7c2b1f4e 100644 --- a/template.rb +++ b/template.rb @@ -231,7 +231,7 @@ def apply_template! # rubocop:disable Metrics/MethodLength, Metrics/AbcSize, Met # erblint does not like some of Rails auto-generated ERB code e.g. # `app/views/layouts/mailer.html.erb` so we auto-correct it. - copy_file "variants/backend-base/.erb-lint.yml", ".erb-lint.yml" + copy_file "variants/backend-base/.erb_lint.yml", ".erb_lint.yml" run_with_clean_bundler_env "bundle exec erblint --autocorrect ." git add: "-A ." git commit: "-n -m 'Set up erblint'" diff --git a/variants/backend-base/.erb-lint.yml b/variants/backend-base/.erb_lint.yml similarity index 100% rename from variants/backend-base/.erb-lint.yml rename to variants/backend-base/.erb_lint.yml