dequelabs / watcher-examples

2 stars 7 forks source link

chore: update format workflow to use same steps that precommit does #169

Closed dbjorge closed 10 months ago

dbjorge commented 10 months ago

When I was updating #153 , I noticed that the autoformatter action and the precommit hook were fighting with each other trying to apply inconsistent prettier changes. That was happening because the workflow was using the latest version of prettier and the precommit hook was using the version specified by package.json.

This PR: