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.
configure the rules and options to customize the look, e.g., .prettierrc
Additionally, there are pre-commit hooks which can be setup to seamlessly validate and modify the source code before every commit. I followed Prettier documentation to create one. I ran npx mrm@2 lint-staged which installed husky and lint-stagedand added a configuration to the project’s package.json. Then, I modified the commands a little and that's it.
Additionally, there are pre-commit hooks which can be setup to seamlessly validate and modify the source code before every commit. I followed Prettier documentation to create one. I ran npx mrm@2 lint-staged which installed husky and lint-stagedand added a configuration to the project’s package.json. Then, I modified the commands a little and that's it.
Related posts
- How Automation Saved Me from Oops Moments: Never Skip Tests in Production Again!
- Pre-commit with husky & lint-staged
- How to gradually add an eslint rule
- Run ESLint on git commit with Husky and Lint-Staged in ReactJS
- Continuous Integration Pipelines with GitHub Actions for (React) Developers (incl screencast)