DEV Community

Discussion on: There May Not Be a Better Way to Effortlessly Improve Code Quality than Using Prettier Code Formatting

Collapse
 
miketalbot profile image
Mike Talbot ⭐

About the only thing you can configure in Prettier is "no semicolons" and 'single quotes'!

We have both of those turned on for our React project.

Collapse
 
nas5w profile image
Nick Scialli (he/him)

Heh, prettier is pretty darn opinionated. I remember requesting the ability to configure something on their GitHub issues and got shot down. Ultimately, the consistency is far more important to me than having it one particular way or another.

Thread Thread
 
miketalbot profile image
Mike Talbot ⭐

Ah I'm going back to the linting wars my team had in 2019.

"Husky! That's just a backdoor to Prettier"

Forward 12 months - it was true, and boy am I happy.