<p></p>
<p dir="auto">In <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="2811697384" data-permission-text="Title is private" data-url="https://github.com/openstreetmap/openstreetmap-website/issues/5557" data-hovercard-type="pull_request" data-hovercard-url="/openstreetmap/openstreetmap-website/pull/5557/hovercard" href="https://github.com/openstreetmap/openstreetmap-website/pull/5557">#5557</a> I added a visual studio code workspace file in the <code class="notranslate">config</code> folder.<br>
This file can contain settings but also other stuff.</p>
<p dir="auto">We have different possibilities:</p>
<h2 dir="auto">move <code class="notranslate">config/eslint.js</code> to root folder <code class="notranslate">eslint.config.cjs</code></h2>
<p dir="auto">pro: works with every editor (?) without config<br>
con: pollutes root folder</p>
<h2 dir="auto">No editor specific config</h2>
<p dir="auto">con: no eslint (because of the unusual eslint config path)</p>
<h2 dir="auto">settings file in <code class="notranslate">.vscode/settings.json</code></h2>
<p dir="auto">pro: works with vsc without config<br>
con: pollutes root folder with the folder <code class="notranslate">.vscode</code></p>
<h2 dir="auto">workspace file in root folder <code class="notranslate">openstreetmap-website.code-workspace</code></h2>
<p dir="auto">pro: vsc ask it should open workspace instead of folder<br>
con: pollutes root folder with the file</p>
<h2 dir="auto">workspace file in config folder <code class="notranslate">config/openstreetmap-website.code-workspace</code> (as in PR right now)</h2>
<p dir="auto">pro: root folder is not polluted<br>
con: vsc users needs to find the file and open manually</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/5572">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAK2OLJ3XG6DHY4HLGTY7SL2NCFYRAVCNFSM6AAAAABWCILDQWVHI2DSMVQWIX3LMV43ASLTON2WKOZSHAYTONJTG42TSOA">unsubscribe</a>.<br />You are receiving this because you are subscribed to this thread.<img src="https://github.com/notifications/beacon/AAK2OLKKVYILUG27NWT4EYD2NCFYRA5CNFSM6AAAAABWCILDQWWGG33NNVSW45C7OR4XAZNFJFZXG5LFVJRW63LNMVXHIX3JMTHKP4BWHY.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/5572</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/5572",
"url": "https://github.com/openstreetmap/openstreetmap-website/issues/5572",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>