tl;dr ESLint has just moved reading third-party paths from .eslintignore
to ThirdPartyPaths.txt.

A couple <https://bugzilla.mozilla.org/show_bug.cgi?id=1607172> of bugs
<https://bugzilla.mozilla.org/show_bug.cgi?id=1608799> have just landed
on central which have updated ESLint and changed how we handled
third-party paths.

The new ESLint changes mean that we are able to load paths to ignore
from external files and hence we now load them from
tools/rewriting/ThirdPartyPaths.txt
<https://searchfox.org/mozilla-central/source/tools/rewriting/ThirdPartyPaths.txt>.
Obviously this now means we only need to list them in one place.

Please only add files/paths to .eslintignore for things we specifically
don't want to ESLint only - for example, preprocessed files or files
that intentionally have invalid syntax. Anything that is third-party
should now go into ThirdPartyPaths.txt.

Thanks,

Mark

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

Reply via email to