<p></p>
<blockquote>
<p dir="auto">Most stylistic rules are now removed from eslint because most use a formatter like prettier.io</p>
</blockquote>
<p dir="auto"><a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/HolgerJeromin/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/HolgerJeromin">@HolgerJeromin</a> Formatting rules have indeed been <a href="https://github.com/eslint/eslint/issues/17522" data-hovercard-type="issue" data-hovercard-url="/eslint/eslint/issues/17522/hovercard">deprecated</a> in the <em>core</em> of ESLint. But mainly because of ongoing maintenance cost. Luckily, antfu was willing <a href="https://github.com/eslint-stylistic/eslint-stylistic">to set up a community-driven ESLint Stylistic repo</a> to continue maintaining those rules with a great community. Look at <a href="https://eslint.style/" rel="nofollow">their website</a>, it works really fine for us, even for our large <a href="https://github.com/MaMpf-HD/mampf/blob/23aae01471c4361b85e86df06e349cd8acfb735c/.config/eslint.mjs#L130-L138">MaMpf codebase</a>. See also their <a href="https://eslint.style/guide/why" rel="nofollow">Why?</a>, which talks about Prettier as well.</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />Reply to this email directly, <a href="https://github.com/openstreetmap/openstreetmap-website/issues/5523#issuecomment-2614094287">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAK2OLIODPNGMWJQZ4MAYH32MPZW7AVCNFSM6AAAAABVPAFAG6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDMMJUGA4TIMRYG4">unsubscribe</a>.<br />You are receiving this because you are subscribed to this thread.<img src="https://github.com/notifications/beacon/AAK2OLM54IZVNSQAGS745332MPZW7A5CNFSM6AAAAABVPAFAG6WGG33NNVSW45C7OR4XAZNMJFZXG5LFINXW23LFNZ2KUY3PNVWWK3TUL5UWJTU3Z7U46.gif" height="1" width="1" alt="" /><span style="color: transparent; font-size: 0; display: none; visibility: hidden; overflow: hidden; opacity: 0; width: 0; height: 0; max-width: 0; max-height: 0; mso-hide: all">Message ID: <span><openstreetmap/openstreetmap-website/issues/5523/2614094287</span><span>@</span><span>github</span><span>.</span><span>com></span></span></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/openstreetmap/openstreetmap-website/issues/5523#issuecomment-2614094287",
"url": "https://github.com/openstreetmap/openstreetmap-website/issues/5523#issuecomment-2614094287",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>