TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

ESLint-config-canonical: 1k rules ESLint rules

2 pointsby gajusover 1 year ago
https:&#x2F;&#x2F;github.com&#x2F;gajus&#x2F;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> { &quot;extends&quot;: [ &quot;canonical&#x2F;auto&quot; ] } </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.

no comments

no comments