Prettier is an opinionated code formatter.
A tool that allows you to generate static sites based off of text data. (by LuigiZaccagnini)
Welcome to another blog post about the journey of Octo, the open source tool for static site generation! Today I will be going over how I added static analysis tooling into the project and how you can do the same for your open source projects!
AWS Cloud-aware infrastructure-from-code toolbox [NEW]. Build cloud backends with Infrastructure-from-Code (IfC), a revolutionary technique for generating and updating cloud infrastructure. Try IfC with AWS and Klotho now (Now open-source)
Eslint is a great tool for checking errors in your code! I would strongly recommend you use eslint in your developer environment and all projects you work on. I have been using eslint as my linter for a few year now with all my code and it has helped me keep my code in good shape. To add eslint to your project run npm install eslint --save-dev. Now that eslint is in your dev dependencies, you can run npx eslint --init. This will prompt you to create a config file that works for your project. If you now run npx eslint . eslint will check all the files in your project for errors!
Git hooks made easy 🐶 woof!
Wow that is a lot of information about two tools! Now how cool would it be if your project would automatically run these tools whenever you made a push or commit? Well here comes Git hooks to the rescue with the power of Husky! To install husky run npm install husky -D. That doesn't fully install husky, to fully install it we have to run another command. Since we just learned about writing scripts in our package, we should write a new one for preparing our project.
How to automate format your code on commit
2 projects | dev.to | 16 Oct 2022
Gear up your React codebase with Prettier and ESLint Automation
3 projects | dev.to | 6 Sep 2021
Streamlining your Tailwind CSS workflow with ESLint + Prettier
8 projects | dev.to | 13 Jul 2022
Standardize Your Next.js Project with ESLint and Husky
6 projects | dev.to | 30 Jan 2022
5 projects | dev.to | 3 Sep 2021