Skip to content

Commit

Permalink
Fix missing Stylelint config in generated .overcommit.yml (#34)
Browse files Browse the repository at this point in the history
The `stylelintrc` file was renamed in #33, which inadvertently caused
Stylelint to get skipped in the generated Overcommit config. This commit
fixes the issue.
  • Loading branch information
mattbrictson authored Jan 13, 2024
1 parent 449fe7b commit a7867da
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion template/.overcommit.yml.tt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit a7867da

Please sign in to comment.