Our great sponsors
Git hooks made easy 🐶 woof!
The way that these things should be enforced is by a non-biased CI/CD process. Code linting and unit testing occurs on git hooks with husky. Establish rules enforced by configurations within the codebase itself so that no code that breaks those rules is allowed to be pushed to the remote branch.
Prettier is an opinionated code formatter.
In terms of getting buy in from the rest of your team, I would start by making the case that these issues are simply not something worth investing time on anymore. The whole reason we have and use tools like prettier now isn't to have big discussions about whether we want to use tabs or spaces or trailing commas or not, it's to simply stop thinking about those things entirely so you can focus your time and energy solving business problems where it belongs.
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!
Automate Prettier in a pre-commit hook
2 projects | dev.to | 3 Jun 2021
Set up ESLint, Prettier and pre-commit hooks using Husky for WordPress from Scratch.
2 projects | dev.to | 14 Oct 2020
How to properly set up Prettier in less than 2 minutes
4 projects | dev.to | 20 Jun 2022
Adding Prettier to a Project
3 projects | dev.to | 1 Jul 2021
Containerize CI pipelines with Earthly
3 projects | dev.to | 27 Sep 2022