Yesterday, I landed the last patch to enable ESLint on all our
javascript code in mozilla-central*. You can read more about this in my
blog post
<https://www.thebanners.uk/standard8/2020/02/14/eslint-now-turned-on-for-all-of-the-firefox-gecko-codebase/>
(tweet <https://twitter.com/Standard8/status/1228261792226455554>).

A big thank you to all those that have supported and helped with this
effort.


A note: Please do not add more items to .eslintignore
<https://searchfox.org/mozilla-central/rev/a4be2fbe9bd4f405c91cc16e4e3a80400f5a9301/.eslintignore#1-9>
unless they are:

  * Preprocessed files, where we can't avoid the preprocessing.
  * Intentionally invalid syntax files, e.g. for tests.
  * Generate files that have to be checked in for some reason.
  * Imported code that is linted and managed in other repositories that
    belong to us (and for some reason ThirdPartyPaths.txt doesn't apply).

Imported code that is purely third party should be listed
inThirdPartyPaths.txt
<https://searchfox.org/mozilla-central/source/tools/rewriting/ThirdPartyPaths.txt>

Mark

* Except reftests and crashtests. These are intentionally not linted as
they are specially crafted tests.

_______________________________________________
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform

Reply via email to