Husky and Markdownlint for mdn/content! (Please execute yarn install
locally)
#230
Closed
teoli2003
announced in
Announcements
Replies: 1 comment
-
Without the quick reviews from @teoli2003 and @caugner this wouldn't have become possible. It took a lot of PRs to tame the beast. Looking forward to more automation:
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi, all! 🎉
As part of our goal to improve the quality of MDN, we have added tests and bots to help us maintain a good MarkDown quality.
Checks have been running 🏃♀️ for a few weeks inside each PR: the Markdownlint linter flags problems it found in your changes. But you have nothing to do, as a bot 🤖 fixes them each morning.
As some people (like me!) like to deliver a clean sheet, we now have added Husky and lint-staged. They run pre-commits locally. So each time you commit some work, the huskies 🐕 run and fix Markdownlint problems for you.
yarn install
once in your (up-to-date) local installation.You don't need to do anything if you are contributing via the GitHub UI. The warnings flagged are still automatically fixed the next day.
🍾 I want to give a big shout-out to the volunteers without whom this wouldn't have happened: @nschonni, @OnkarRuikar (the bot-master), @Josh-Cena, but also to @wbamberg and @Elchi3 from Open Web Docs that have championed this, as well as a big thank you to @caugner, @Rumyra and @schalkneethling from Mozilla for reviews, help, and advice (and bug fixes!).
cc/ @mdn/localization-team-leads
Beta Was this translation helpful? Give feedback.
All reactions