<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
</head>
<body>
<p>Yesterday, I landed the last patch to enable ESLint on all our
javascript code in mozilla-central*. You can read more about <a
moz-do-not-send="true"
href="https://www.thebanners.uk/standard8/2020/02/14/eslint-now-turned-on-for-all-of-the-firefox-gecko-codebase/">this
in my blog post</a> (<a moz-do-not-send="true"
href="https://twitter.com/Standard8/status/1228261792226455554">tweet</a>).</p>
<p>A big thank you to all those that have supported and helped with
this effort.</p>
<p><br>
</p>
<p>A note: Please do not add more items to <a
moz-do-not-send="true"
href="https://searchfox.org/mozilla-central/rev/a4be2fbe9bd4f405c91cc16e4e3a80400f5a9301/.eslintignore#1-9">.eslintignore</a>
unless they are:</p>
<ul>
<li>Preprocessed files, where we can't avoid the preprocessing.</li>
<li>Intentionally invalid syntax files, e.g. for tests.</li>
<li>Generate files that have to be checked in for some reason.</li>
<li>Imported code that is linted and managed in other repositories
that belong to us (and for some reason ThirdPartyPaths.txt
doesn't apply).<br>
</li>
</ul>
<p>Imported code that is purely third party should be listed in<a
moz-do-not-send="true"
href="https://searchfox.org/mozilla-central/source/tools/rewriting/ThirdPartyPaths.txt">
ThirdPartyPaths.txt</a><br>
</p>
<p>Mark<br>
</p>
<p>* Except reftests and crashtests. These are intentionally not
linted as they are specially crafted tests.<br>
</p>
</body>
</html>