Our great sponsors
Git hooks made easy 🐶 woof!
Husky (automated linter trigger)
Prettier is an opinionated code formatter.
Prettier (Code Formatter)
Appwrite - The Open Source Firebase alternative introduces iOS support . Appwrite is an open source backend server that helps you build native iOS applications much faster with realtime APIs for authentication, databases, files storage, cloud functions and much more!
🚫💩 — Run linters on git staged files
After that, we’ll install the Lint Staged to trigger and run lines on git staged files by executing npx [email protected] lint-staged. It will automatically generate the base command triggers in pre-commit husky config file. After that, you can delete or modify the content by your own preference. After that, it will run the linter before the commit process. So you have to make sure that your code is matched with the linter rules.
ESLint (Linter for JS-based project)
This just for sharing session purpose
For giving an example purpose, I’ve prepared a simple Next.js (Typescript) project. You can use https://github.com/yehezkielgunawan/next-tailwind-polos if you want to try to standardize the source code using those tools. You can clone it to your local device and don’t forget to install the dependencies using yarn or npm install
🎨This is the newest version of my personal web.🎨
Reference: Husky setting Yehez-Tailwind-Starter
Streamlining your Tailwind CSS workflow with ESLint + Prettier
8 projects | dev.to | 13 Jul 2022
Tools to ensure code quality
5 projects | dev.to | 7 Apr 2021
How to Use ESLint to Boost Your Programming Skills
4 projects | dev.to | 13 Mar 2023
How to create and publish a TypeScript library with ease
7 projects | dev.to | 7 Mar 2023
Commit Like a PRO
3 projects | dev.to | 11 Nov 2022