cloudfour / cloudfour/eleventy-patterns

Enforce linting rules on commits with Husky or Github actions

Open
#21 0 comments 0 reactions 0 assignees View on GitHub
✨ enhancement
Dominant language
JavaScript
Stars
4
Forks
0
PR merge metrics
No merged PRs in 30d

Description

The project has linting, but it would be nice to enforce this when users try to commit or push.

@calebeby recommended using a Github action over Husky:

>Husky bugs me because it really slows down when I want to commit. On decathlon when we were using husky it often took 8-10 seconds to run the checks when I was trying to commit. We switched to GitHub Actions. Then the checks can run concurrently with PR review, and they enforce that everything works even with the latest dependencies. Also it is nice to be able to commit WIP work even if linting is failing

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.