зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1536589 - Tidy up a few items .eslintignore to make it clearer what needs fixing and what doesn't. r=mossop
Depends on D26542 Differential Revision: https://phabricator.services.mozilla.com/D26543 --HG-- extra : moz-landing-system : lando
This commit is contained in:
Родитель
bb846083ae
Коммит
5149252c0c
|
@ -23,8 +23,7 @@ netwerk/cookie/test/browser/**
|
||||||
netwerk/test/browser/**
|
netwerk/test/browser/**
|
||||||
netwerk/test/mochitests/**
|
netwerk/test/mochitests/**
|
||||||
netwerk/test/unit*/**
|
netwerk/test/unit*/**
|
||||||
tools/update-packaging/**
|
startupcache/**
|
||||||
xpfe/**
|
|
||||||
|
|
||||||
# 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
|
||||||
# default to aid ESLint's performance.
|
# default to aid ESLint's performance.
|
||||||
|
@ -38,7 +37,7 @@ mfbt/**
|
||||||
mozglue/**
|
mozglue/**
|
||||||
nsprpub/**
|
nsprpub/**
|
||||||
other-licenses/**
|
other-licenses/**
|
||||||
startupcache/**
|
xpfe/**
|
||||||
|
|
||||||
# These directories only contain crashtests, but we still skip the whole
|
# These directories only contain crashtests, but we still skip the whole
|
||||||
# directory to aid performance.
|
# directory to aid performance.
|
||||||
|
@ -50,6 +49,8 @@ browser/branding/**/firefox-branding.js
|
||||||
# Gzipped test file.
|
# Gzipped test file.
|
||||||
browser/base/content/test/general/gZipOfflineChild.html
|
browser/base/content/test/general/gZipOfflineChild.html
|
||||||
browser/base/content/test/urlbar/file_blank_but_not_blank.html
|
browser/base/content/test/urlbar/file_blank_but_not_blank.html
|
||||||
|
# Third-party code.
|
||||||
|
browser/components/payments/res/vendor/*
|
||||||
# Test files that are really json not js, and don't need to be linted.
|
# Test files that are really json not js, and don't need to be linted.
|
||||||
browser/components/sessionstore/test/unit/data/sessionstore_valid.js
|
browser/components/sessionstore/test/unit/data/sessionstore_valid.js
|
||||||
browser/components/sessionstore/test/unit/data/sessionstore_invalid.js
|
browser/components/sessionstore/test/unit/data/sessionstore_invalid.js
|
||||||
|
@ -154,7 +155,7 @@ devtools/server/tests/unit/sourcemapped.js
|
||||||
# devtools specific format test file
|
# devtools specific format test file
|
||||||
devtools/server/tests/unit/xpcshell_debugging_script.js
|
devtools/server/tests/unit/xpcshell_debugging_script.js
|
||||||
|
|
||||||
# dom/ exclusions
|
# dom/ exclusions which should be removed (aka ESLint enabled)
|
||||||
dom/animation/**
|
dom/animation/**
|
||||||
dom/base/*.*
|
dom/base/*.*
|
||||||
dom/base/test/*.*
|
dom/base/test/*.*
|
||||||
|
@ -191,7 +192,6 @@ dom/security/test/mixedcontentblocker/**
|
||||||
dom/security/test/sri/**
|
dom/security/test/sri/**
|
||||||
dom/serviceworkers/**
|
dom/serviceworkers/**
|
||||||
dom/smil/**
|
dom/smil/**
|
||||||
|
|
||||||
dom/tests/html/**
|
dom/tests/html/**
|
||||||
dom/tests/mochitest/**
|
dom/tests/mochitest/**
|
||||||
dom/u2f/**
|
dom/u2f/**
|
||||||
|
@ -291,6 +291,10 @@ security/nss/**
|
||||||
|
|
||||||
# services/ exclusions
|
# services/ exclusions
|
||||||
|
|
||||||
|
# Third party services
|
||||||
|
services/common/kinto-http-client.js
|
||||||
|
services/common/kinto-offline-client.js
|
||||||
|
|
||||||
# Webpack-bundled library
|
# Webpack-bundled library
|
||||||
services/fxaccounts/FxAccountsPairingChannel.js
|
services/fxaccounts/FxAccountsPairingChannel.js
|
||||||
|
|
||||||
|
@ -337,33 +341,38 @@ testing/xpcshell/dns-packet/**
|
||||||
testing/xpcshell/node-ip/**
|
testing/xpcshell/node-ip/**
|
||||||
|
|
||||||
|
|
||||||
# Third party services
|
# Third party.
|
||||||
services/common/kinto-http-client.js
|
third_party/**
|
||||||
services/common/kinto-offline-client.js
|
|
||||||
|
|
||||||
# toolkit/ exclusions
|
# toolkit/ exclusions
|
||||||
toolkit/content/widgets/wizard.xml
|
|
||||||
|
# Ignore generated code from wasm-bindgen
|
||||||
|
toolkit/components/extensions/profiler_get_symbols.js
|
||||||
|
|
||||||
# Intentionally invalid JS
|
# Intentionally invalid JS
|
||||||
toolkit/components/workerloader/tests/moduleF-syntax-error.js
|
toolkit/components/workerloader/tests/moduleF-syntax-error.js
|
||||||
|
|
||||||
# Tests old non-star function generators
|
|
||||||
toolkit/modules/tests/xpcshell/test_task.js
|
|
||||||
|
|
||||||
# External code:
|
# External code:
|
||||||
browser/components/payments/res/vendor/*
|
|
||||||
toolkit/components/reader/Readability.js
|
toolkit/components/reader/Readability.js
|
||||||
toolkit/components/reader/JSDOMParser.js
|
toolkit/components/reader/JSDOMParser.js
|
||||||
|
|
||||||
# Uses preprocessing
|
# Uses preprocessing
|
||||||
toolkit/components/reader/Readerable.jsm
|
toolkit/components/reader/Readerable.jsm
|
||||||
toolkit/modules/AppConstants.jsm
|
|
||||||
|
# Should be going away soon
|
||||||
|
toolkit/content/widgets/wizard.xml
|
||||||
|
|
||||||
|
# Uses preprocessing
|
||||||
toolkit/mozapps/update/tests/data/xpcshellConstantsPP.js
|
toolkit/mozapps/update/tests/data/xpcshellConstantsPP.js
|
||||||
tools/tryselect/selectors/chooser/templates/chooser.html
|
toolkit/modules/AppConstants.jsm
|
||||||
|
|
||||||
|
# Tests old non-star function generators
|
||||||
|
toolkit/modules/tests/xpcshell/test_task.js
|
||||||
|
|
||||||
# Third party
|
# Third party
|
||||||
toolkit/modules/third_party/**
|
toolkit/modules/third_party/**
|
||||||
third_party/**
|
|
||||||
|
|
||||||
# Ignore generated code from wasm-bindgen
|
tools/tryselect/selectors/chooser/templates/chooser.html
|
||||||
toolkit/components/extensions/profiler_get_symbols.js
|
|
||||||
|
# Ignore preprocessed *(P)refs.js files in update-packaging.
|
||||||
|
tools/update-packaging/**/*refs.js
|
||||||
|
|
Загрузка…
Ссылка в новой задаче