From a7867da38cb6baa5e386f6b7efe86726b790e178 Mon Sep 17 00:00:00 2001 From: Matt Brictson Date: Sat, 13 Jan 2024 13:44:44 -0800 Subject: [PATCH] Fix missing Stylelint config in generated .overcommit.yml (#34) The `stylelintrc` file was renamed in #33, which inadvertently caused Stylelint to get skipped in the generated Overcommit config. This commit fixes the issue. --- template/.overcommit.yml.tt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/template/.overcommit.yml.tt b/template/.overcommit.yml.tt index 6155a53..4b0ebd2 100644 --- a/template/.overcommit.yml.tt +++ b/template/.overcommit.yml.tt @@ -63,7 +63,7 @@ PreCommit: on_warn: fail <% end -%> -<% if File.exist?(".stylelintrc.cjs") -%> +<% if File.exist?(".stylelintrc.js") -%> Stylelint: enabled: true required_executable: npx