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