Our great sponsors
-
SurveyJS
Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App. With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.
-
stylelint-config-prettier
Discontinued Turns off all rules that are unnecessary or might conflict with prettier.
-
WorkOS
The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
💰 Check the code here
Feel free to remove eslint-plugin-react if you don't use React
We can run all these scripts in parallel by using npm-run-all
🔬 5. Lint-staged
We use stylelint-config-prettier to turns off all rules that are unnecessary or might conflict with Prettier
🎁 6. Stylelint (Bonus)
Working with SCSS? Check here
🍀 Check the final code 🍀 I learned this setup from Kent's static-testing-tools repo. I added Stylelint and also migrated Husky to v6. 🍀 Working with TypeScript? Check here