i've had good success in the past using
https://standardjs.com/ for enforcing styling. (yeah, it's really just eslint with rules someone else decided on.... but it's also simple and broadly effective. ) highly recommend getting a precommit hook setup asap to effectively eliminate styling only diffs in PRs 🤣