<p>Ah, I was testing on an outdated master branch locally, that explains the discrepancy.</p>
<p><a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/openstreetmap/openstreetmap-website/commit/aa7256d617748e94d1b6295debc58a14819f0eae/hovercard" href="https://github.com/openstreetmap/openstreetmap-website/commit/aa7256d617748e94d1b6295debc58a14819f0eae"><tt>aa7256d</tt></a> included an update to rubocop 0.78, which <a href="https://github.com/rubocop-hq/rubocop/commit/ff811f0ca7971a6d121e53882130ee9fdee6d705">changes unrecognised cops from a warning to an error</a>. So a quick workaround would be to pin rubocop to 0.77 for now (and revert <a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/openstreetmap/openstreetmap-website/commit/09defac787a33f94579bb8afb43fd7dfda4ed311/hovercard" href="https://github.com/openstreetmap/openstreetmap-website/commit/09defac787a33f94579bb8afb43fd7dfda4ed311"><tt>09defac</tt></a> for the moment too).</p>
<p>The deeper problem is that erblint doesn't appear to recognise the <code>Rails/*</code> and <code>Performance/*</code> directives. This is probably a consequence of them being moved out into separate projects. I suspect, but haven't yet tested, that erblint doesn't process <a href="https://github.com/openstreetmap/openstreetmap-website/blob/281d7992f857e7e7c64947a06470898c35035bb6/.rubocop.yml#L3-L5">the 'require' directives in the rubocop config</a>.</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/openstreetmap/openstreetmap-website/issues/2472?email_source=notifications&email_token=AAK2OLKGUHR7X4YQYS5L2ITQZ5BKBA5CNFSM4J6LDZBKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEHPNIIQ#issuecomment-568251426">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAK2OLNDIPLK2WTLRL32GF3QZ5BKBANCNFSM4J6LDZBA">unsubscribe</a>.<img src="https://github.com/notifications/beacon/AAK2OLLKL7NM7UB2ARO5QSLQZ5BKBA5CNFSM4J6LDZBKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEHPNIIQ.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/openstreetmap/openstreetmap-website/issues/2472?email_source=notifications\u0026email_token=AAK2OLKGUHR7X4YQYS5L2ITQZ5BKBA5CNFSM4J6LDZBKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEHPNIIQ#issuecomment-568251426",
"url": "https://github.com/openstreetmap/openstreetmap-website/issues/2472?email_source=notifications\u0026email_token=AAK2OLKGUHR7X4YQYS5L2ITQZ5BKBA5CNFSM4J6LDZBKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEHPNIIQ#issuecomment-568251426",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>