Bug 1410006 - ESLint should automatically ignore all crashtest directories; and clean up .eslintignore a bit. r=mossop

MozReview-Commit-ID: 93aNFQQcgrV

--HG--
extra : rebase_source : cd5cfb07772d163ba2b3ca6d923b981fe84d254e
This commit is contained in:
Mark Banner 2017-10-19 09:55:40 +01:00
parent bfad5a393e
commit 894bda671f

View file

@ -1,6 +1,10 @@
# Always ignore node_modules.
**/node_modules/**/*.*
# Always ignore crashtests - specially crafted files that originally caused a
# crash.
**/crashtests/**
# Exclude expected objdirs.
obj*/**
@ -10,7 +14,6 @@ obj*/**
chrome/**
docshell/**
editor/**
embedding/**
extensions/cookie/**
extensions/spellcheck/**
extensions/universalchardet/**
@ -23,12 +26,9 @@ memory/**
modules/**
netwerk/**
parser/**
python/**
rdf/**
servo/**
tools/update-packaging/**
uriloader/**
view/**
widget/**
# We currently have no js files in these directories, so we ignore them by
@ -36,6 +36,7 @@ widget/**
build/**
config/**
db/**
embedding/**
gradle/**
hal/**
mfbt/**
@ -46,6 +47,10 @@ probes/**
startupcache/**
xpfe/**
# These directories only contain crashtests, but we still skip the whole
# directory to aid performance.
view/**
# browser/ exclusions
browser/app/**
browser/branding/**/firefox-branding.js
@ -282,6 +287,9 @@ mobile/android/locales/
mobile/android/chrome/content/browser.js
mobile/android/components/Snippets.js
# Only contains non-standard test files.
python/**
# security/ exclusions (pref files).
security/manager/ssl/security-prefs.js
@ -294,6 +302,9 @@ security/nss/**
services/sync/modules/constants.js
services/sync/services-sync.js
# Servo is imported.
servo/**
# Remote protocol exclusions
testing/marionette/test_*.js
testing/marionette/atom.js