https://github.com/gajus/eslint-config-canonical<p>I will repost this every couple of years, as it now has been 8 years since I regularly update this config. For most projects, adopting this is going to be as simple as:<p><pre><code> {
"extends": [
"canonical/auto"
]
}
</code></pre>
and from that point magic happens. Everything that you do will be auto formatted, way more than what Prettier does (Prettier is also used as part of formatting).<p>The goal is to completely eliminate stylistic choices from the codebase by providing auto formatting for all of them, and also to prevent a ton of problematic code patterns.