<p dir="auto">Following on from <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/AntonKhorev/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/AntonKhorev">@AntonKhorev</a>'s observation in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="2840147665" data-permission-text="Title is private" data-url="https://github.com/openstreetmap/openstreetmap-website/issues/5631" data-hovercard-type="pull_request" data-hovercard-url="/openstreetmap/openstreetmap-website/pull/5631/hovercard" href="https://github.com/openstreetmap/openstreetmap-website/pull/5631">#5631</a> this moves eslint ignore rules to the configuration.</p>
<p dir="auto">Instead of having the rake task select which files to check, we just check the whole tree and have eslint ignore third party files and generated files that we don't control.</p>

<hr>

<h4>You can view, comment on, or merge this pull request online at:</h4>
<p>  <a href='https://github.com/openstreetmap/openstreetmap-website/pull/5640'>https://github.com/openstreetmap/openstreetmap-website/pull/5640</a></p>

<h4>Commit Summary</h4>
<ul>
  <li><a href="https://github.com/openstreetmap/openstreetmap-website/pull/5640/commits/275228dec7d6017eb6ccb411b49a9bb3ec9bea8b" class="commit-link">275228d</a>  Move eslint ignore rules to the configuration file</li>
</ul>

<h4 style="display: inline-block">File Changes </h4> <p style="display: inline-block">(<a href="https://github.com/openstreetmap/openstreetmap-website/pull/5640/files">2 files</a>)</p>
<ul>
  <li>
    <strong>M</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/5640/files#diff-96200efa07e00ed1e99917b67033ff3c54a932520a4dcb9939217a0e2fe1fa8b">config/eslint.js</a>
    (8)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/5640/files#diff-cd65ec1e50201b871987ff6c0e73f73591a231dbc7021d1580895f8a7c17065f">lib/tasks/eslint.rake</a>
    (10)
  </li>
</ul>

<h4>Patch Links:</h4>
<ul>
  <li><a href='https://github.com/openstreetmap/openstreetmap-website/pull/5640.patch'>https://github.com/openstreetmap/openstreetmap-website/pull/5640.patch</a></li>
  <li><a href='https://github.com/openstreetmap/openstreetmap-website/pull/5640.diff'>https://github.com/openstreetmap/openstreetmap-website/pull/5640.diff</a></li>
</ul>

<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/pull/5640">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAK2OLO4JIYSBW4SFZQ5BU32O6VIPAVCNFSM6AAAAABWZERSOKVHI2DSMVQWIX3LMV43ASLTON2WKOZSHA2DAOJRGI4DOMQ">unsubscribe</a>.<br />You are receiving this because you are subscribed to this thread.<img src="https://github.com/notifications/beacon/AAK2OLIGTOAD554V4JN5POL2O6VIPA5CNFSM6AAAAABWZERSOKWGG33NNVSW45C7OR4XAZNFJFZXG5LFVJRW63LNMVXHIX3JMTHKSVHD5A.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/pull/5640</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/pull/5640",
"url": "https://github.com/openstreetmap/openstreetmap-website/pull/5640",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>