Bug 1512052 - Add more .eslintrc.js files for test directories. r=mossop
authorMark Banner <standard8@mozilla.com>
Tue, 11 Dec 2018 13:15:08 +0000
changeset 509913 a036f08a57dedd3a8753dcdf93e7389984bdd9cd
parent 509912 5113193aca0b11e01c4919f8acab4775044519b5
child 509914 7b87897daca270845fd8de476079020973e0a74f
push id1953
push userffxbld-merge
push dateMon, 11 Mar 2019 12:10:20 +0000
treeherdermozilla-release@9c35dcbaa899 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersmossop
bugs1512052
milestone66.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1512052 - Add more .eslintrc.js files for test directories. r=mossop Differential Revision: https://phabricator.services.mozilla.com/D13746
browser/components/resistfingerprinting/test/chrome/.eslintrc.js
dom/media/test/.eslintrc.js
dom/media/tests/mochitest/identity/.eslintrc.js
dom/media/webspeech/recognition/test/.eslintrc.js
dom/media/webspeech/synth/test/.eslintrc.js
dom/messagechannel/tests/.eslintrc.js
dom/network/tests/.eslintrc.js
dom/payments/test/.eslintrc.js
dom/performance/tests/.eslintrc.js
dom/permission/tests/.eslintrc.js
dom/promise/tests/.eslintrc.js
dom/push/test/.eslintrc.js
dom/quota/test/.eslintrc.js
dom/quota/test/unit/.eslintrc.js
dom/security/featurepolicy/test/mochitest/.eslintrc.js
dom/serviceworkers/test/.eslintrc.js
dom/smil/test/.eslintrc.js
dom/u2f/tests/.eslintrc.js
dom/url/tests/.eslintrc.js
dom/webauthn/tests/.eslintrc.js
dom/webauthn/tests/browser/.eslintrc.js
dom/webgpu/mochitest/.eslintrc.js
dom/websocket/tests/.eslintrc.js
dom/workers/test/.eslintrc.js
dom/workers/test/xpcshell/.eslintrc.js
dom/worklet/tests/.eslintrc.js
dom/xbl/test/.eslintrc.js
dom/xhr/tests/.eslintrc.js
dom/xml/test/.eslintrc.js
dom/xul/test/.eslintrc.js
extensions/cookie/test/.eslintrc.js
extensions/cookie/test/unit/.eslintrc.js
extensions/spellcheck/hunspell/tests/unit/.eslintrc.js
extensions/universalchardet/tests/.eslintrc.js
gfx/layers/apz/test/mochitest/.eslintrc.js
gfx/tests/browser/.eslintrc.js
gfx/tests/chrome/.eslintrc.js
gfx/tests/mochitest/.eslintrc.js
image/test/browser/.eslintrc.js
image/test/mochitest/.eslintrc.js
image/test/unit/.eslintrc.js
intl/uconv/tests/.eslintrc.js
intl/uconv/tests/unit/.eslintrc.js
layout/base/tests/.eslintrc.js
layout/forms/test/.eslintrc.js
layout/generic/test/.eslintrc.js
layout/inspector/tests/.eslintrc.js
layout/inspector/tests/chrome/.eslintrc.js
layout/mathml/tests/.eslintrc.js
layout/style/test/.eslintrc.js
layout/style/test/chrome/.eslintrc.js
layout/svg/tests/.eslintrc.js
layout/tables/test/.eslintrc.js
layout/tools/layout-debug/tests/browser/.eslintrc.js
layout/tools/layout-debug/tests/unit/.eslintrc.js
layout/xul/test/.eslintrc.js
widget/tests/.eslintrc.js
widget/tests/unit/.eslintrc.js
xpfe/appshell/test/.eslintrc.js
new file mode 100644
--- /dev/null
+++ b/browser/components/resistfingerprinting/test/chrome/.eslintrc.js
@@ -0,0 +1,7 @@
+"use strict";
+
+module.exports = {
+  "extends": [
+    "plugin:mozilla/chrome-test",
+  ]
+};
new file mode 100644
--- /dev/null
+++ b/dom/media/test/.eslintrc.js
@@ -0,0 +1,7 @@
+"use strict";
+
+module.exports = {
+  "extends": [
+    "plugin:mozilla/mochitest-test",
+  ]
+};
new file mode 100644
--- /dev/null
+++ b/dom/media/tests/mochitest/identity/.eslintrc.js
@@ -0,0 +1,7 @@
+"use strict";
+
+module.exports = {
+  "extends": [
+    "plugin:mozilla/mochitest-test",
+  ]
+};
new file mode 100644
--- /dev/null
+++ b/dom/media/webspeech/recognition/test/.eslintrc.js
@@ -0,0 +1,7 @@
+"use strict";
+
+module.exports = {
+  "extends": [
+    "plugin:mozilla/mochitest-test",
+  ]
+};
new file mode 100644
--- /dev/null
+++ b/dom/media/webspeech/synth/test/.eslintrc.js
@@ -0,0 +1,7 @@
+"use strict";
+
+module.exports = {
+  "extends": [
+    "plugin:mozilla/mochitest-test",
+  ]
+};
new file mode 100644
--- /dev/null
+++ b/dom/messagechannel/tests/.eslintrc.js
@@ -0,0 +1,8 @@
+"use strict";
+
+module.exports = {
+  "extends": [
+    "plugin:mozilla/mochitest-test",
+    "plugin:mozilla/chrome-test",
+  ]
+};
new file mode 100644
--- /dev/null
+++ b/dom/network/tests/.eslintrc.js
@@ -0,0 +1,8 @@
+"use strict";
+
+module.exports = {
+  "extends": [
+    "plugin:mozilla/mochitest-test",
+    "plugin:mozilla/chrome-test",
+  ]
+};
new file mode 100644
--- /dev/null
+++ b/dom/payments/test/.eslintrc.js
@@ -0,0 +1,8 @@
+"use strict";
+
+module.exports = {
+  "extends": [
+    "plugin:mozilla/mochitest-test",
+    "plugin:mozilla/browser-test",
+  ]
+};
new file mode 100644
--- /dev/null
+++ b/dom/performance/tests/.eslintrc.js
@@ -0,0 +1,7 @@
+"use strict";
+
+module.exports = {
+  "extends": [
+    "plugin:mozilla/mochitest-test",
+  ]
+};
new file mode 100644
--- /dev/null
+++ b/dom/permission/tests/.eslintrc.js
@@ -0,0 +1,7 @@
+"use strict";
+
+module.exports = {
+  "extends": [
+    "plugin:mozilla/mochitest-test",
+  ]
+};
new file mode 100644
--- /dev/null
+++ b/dom/promise/tests/.eslintrc.js
@@ -0,0 +1,8 @@
+"use strict";
+
+module.exports = {
+  "extends": [
+    "plugin:mozilla/mochitest-test",
+    "plugin:mozilla/chrome-test",
+  ]
+};
new file mode 100644
--- /dev/null
+++ b/dom/push/test/.eslintrc.js
@@ -0,0 +1,7 @@
+"use strict";
+
+module.exports = {
+  "extends": [
+    "plugin:mozilla/mochitest-test",
+  ]
+};
new file mode 100644
--- /dev/null
+++ b/dom/quota/test/.eslintrc.js
@@ -0,0 +1,8 @@
+"use strict";
+
+module.exports = {
+  "extends": [
+    "plugin:mozilla/mochitest-test",
+    "plugin:mozilla/browser-test",
+  ]
+};
new file mode 100644
--- /dev/null
+++ b/dom/quota/test/unit/.eslintrc.js
@@ -0,0 +1,7 @@
+"use strict";
+
+module.exports = {
+  "extends": [
+    "plugin:mozilla/xpcshell-test",
+  ]
+};
new file mode 100644
--- /dev/null
+++ b/dom/security/featurepolicy/test/mochitest/.eslintrc.js
@@ -0,0 +1,7 @@
+"use strict";
+
+module.exports = {
+  "extends": [
+    "plugin:mozilla/mochitest-test",
+  ]
+};
new file mode 100644
--- /dev/null
+++ b/dom/serviceworkers/test/.eslintrc.js
@@ -0,0 +1,9 @@
+"use strict";
+
+module.exports = {
+  "extends": [
+    "plugin:mozilla/mochitest-test",
+    "plugin:mozilla/browser-test",
+    "plugin:mozilla/chrome-test",
+  ]
+};
new file mode 100644
--- /dev/null
+++ b/dom/smil/test/.eslintrc.js
@@ -0,0 +1,7 @@
+"use strict";
+
+module.exports = {
+  "extends": [
+    "plugin:mozilla/mochitest-test",
+  ]
+};
new file mode 100644
--- /dev/null
+++ b/dom/u2f/tests/.eslintrc.js
@@ -0,0 +1,7 @@
+"use strict";
+
+module.exports = {
+  "extends": [
+    "plugin:mozilla/mochitest-test",
+  ]
+};
new file mode 100644
--- /dev/null
+++ b/dom/url/tests/.eslintrc.js
@@ -0,0 +1,9 @@
+"use strict";
+
+module.exports = {
+  "extends": [
+    "plugin:mozilla/mochitest-test",
+    "plugin:mozilla/browser-test",
+    "plugin:mozilla/chrome-test",
+  ]
+};
new file mode 100644
--- /dev/null
+++ b/dom/webauthn/tests/.eslintrc.js
@@ -0,0 +1,7 @@
+"use strict";
+
+module.exports = {
+  "extends": [
+    "plugin:mozilla/mochitest-test",
+  ]
+};
new file mode 100644
--- /dev/null
+++ b/dom/webauthn/tests/browser/.eslintrc.js
@@ -0,0 +1,7 @@
+"use strict";
+
+module.exports = {
+  "extends": [
+    "plugin:mozilla/browser-test",
+  ]
+};
new file mode 100644
--- /dev/null
+++ b/dom/webgpu/mochitest/.eslintrc.js
@@ -0,0 +1,7 @@
+"use strict";
+
+module.exports = {
+  "extends": [
+    "plugin:mozilla/mochitest-test",
+  ]
+};
new file mode 100644
--- /dev/null
+++ b/dom/websocket/tests/.eslintrc.js
@@ -0,0 +1,8 @@
+"use strict";
+
+module.exports = {
+  "extends": [
+    "plugin:mozilla/mochitest-test",
+    "plugin:mozilla/chrome-test",
+  ]
+};
new file mode 100644
--- /dev/null
+++ b/dom/workers/test/.eslintrc.js
@@ -0,0 +1,9 @@
+"use strict";
+
+module.exports = {
+  "extends": [
+    "plugin:mozilla/mochitest-test",
+    "plugin:mozilla/browser-test",
+    "plugin:mozilla/chrome-test",
+  ]
+};
new file mode 100644
--- /dev/null
+++ b/dom/workers/test/xpcshell/.eslintrc.js
@@ -0,0 +1,7 @@
+"use strict";
+
+module.exports = {
+  "extends": [
+    "plugin:mozilla/xpcshell-test",
+  ]
+};
new file mode 100644
--- /dev/null
+++ b/dom/worklet/tests/.eslintrc.js
@@ -0,0 +1,7 @@
+"use strict";
+
+module.exports = {
+  "extends": [
+    "plugin:mozilla/mochitest-test",
+  ]
+};
new file mode 100644
--- /dev/null
+++ b/dom/xbl/test/.eslintrc.js
@@ -0,0 +1,8 @@
+"use strict";
+
+module.exports = {
+  "extends": [
+    "plugin:mozilla/mochitest-test",
+    "plugin:mozilla/chrome-test",
+  ]
+};
new file mode 100644
--- /dev/null
+++ b/dom/xhr/tests/.eslintrc.js
@@ -0,0 +1,8 @@
+"use strict";
+
+module.exports = {
+  "extends": [
+    "plugin:mozilla/mochitest-test",
+    "plugin:mozilla/browser-test",
+  ]
+};
new file mode 100644
--- /dev/null
+++ b/dom/xml/test/.eslintrc.js
@@ -0,0 +1,7 @@
+"use strict";
+
+module.exports = {
+  "extends": [
+    "plugin:mozilla/mochitest-test",
+  ]
+};
new file mode 100644
--- /dev/null
+++ b/dom/xul/test/.eslintrc.js
@@ -0,0 +1,8 @@
+"use strict";
+
+module.exports = {
+  "extends": [
+    "plugin:mozilla/mochitest-test",
+    "plugin:mozilla/chrome-test",
+  ]
+};
new file mode 100644
--- /dev/null
+++ b/extensions/cookie/test/.eslintrc.js
@@ -0,0 +1,8 @@
+"use strict";
+
+module.exports = {
+  "extends": [
+    "plugin:mozilla/mochitest-test",
+    "plugin:mozilla/browser-test",
+  ]
+};
new file mode 100644
--- /dev/null
+++ b/extensions/cookie/test/unit/.eslintrc.js
@@ -0,0 +1,7 @@
+"use strict";
+
+module.exports = {
+  "extends": [
+    "plugin:mozilla/xpcshell-test",
+  ]
+};
new file mode 100644
--- /dev/null
+++ b/extensions/spellcheck/hunspell/tests/unit/.eslintrc.js
@@ -0,0 +1,7 @@
+"use strict";
+
+module.exports = {
+  "extends": [
+    "plugin:mozilla/xpcshell-test",
+  ]
+};
new file mode 100644
--- /dev/null
+++ b/extensions/universalchardet/tests/.eslintrc.js
@@ -0,0 +1,7 @@
+"use strict";
+
+module.exports = {
+  "extends": [
+    "plugin:mozilla/chrome-test",
+  ]
+};
new file mode 100644
--- /dev/null
+++ b/gfx/layers/apz/test/mochitest/.eslintrc.js
@@ -0,0 +1,8 @@
+"use strict";
+
+module.exports = {
+  "extends": [
+    "plugin:mozilla/mochitest-test",
+    "plugin:mozilla/chrome-test",
+  ]
+};
new file mode 100644
--- /dev/null
+++ b/gfx/tests/browser/.eslintrc.js
@@ -0,0 +1,7 @@
+"use strict";
+
+module.exports = {
+  "extends": [
+    "plugin:mozilla/browser-test",
+  ]
+};
new file mode 100644
--- /dev/null
+++ b/gfx/tests/chrome/.eslintrc.js
@@ -0,0 +1,7 @@
+"use strict";
+
+module.exports = {
+  "extends": [
+    "plugin:mozilla/chrome-test",
+  ]
+};
new file mode 100644
--- /dev/null
+++ b/gfx/tests/mochitest/.eslintrc.js
@@ -0,0 +1,7 @@
+"use strict";
+
+module.exports = {
+  "extends": [
+    "plugin:mozilla/mochitest-test",
+  ]
+};
new file mode 100644
--- /dev/null
+++ b/image/test/browser/.eslintrc.js
@@ -0,0 +1,7 @@
+"use strict";
+
+module.exports = {
+  "extends": [
+    "plugin:mozilla/browser-test",
+  ]
+};
new file mode 100644
--- /dev/null
+++ b/image/test/mochitest/.eslintrc.js
@@ -0,0 +1,8 @@
+"use strict";
+
+module.exports = {
+  "extends": [
+    "plugin:mozilla/mochitest-test",
+    "plugin:mozilla/chrome-test",
+  ]
+};
new file mode 100644
--- /dev/null
+++ b/image/test/unit/.eslintrc.js
@@ -0,0 +1,7 @@
+"use strict";
+
+module.exports = {
+  "extends": [
+    "plugin:mozilla/xpcshell-test",
+  ]
+};
new file mode 100644
--- /dev/null
+++ b/intl/uconv/tests/.eslintrc.js
@@ -0,0 +1,7 @@
+"use strict";
+
+module.exports = {
+  "extends": [
+    "plugin:mozilla/mochitest-test",
+  ]
+};
new file mode 100644
--- /dev/null
+++ b/intl/uconv/tests/unit/.eslintrc.js
@@ -0,0 +1,7 @@
+"use strict";
+
+module.exports = {
+  "extends": [
+    "plugin:mozilla/xpcshell-test",
+  ]
+};
new file mode 100644
--- /dev/null
+++ b/layout/base/tests/.eslintrc.js
@@ -0,0 +1,8 @@
+"use strict";
+
+module.exports = {
+  "extends": [
+    "plugin:mozilla/mochitest-test",
+    "plugin:mozilla/browser-test",
+  ]
+};
new file mode 100644
--- /dev/null
+++ b/layout/forms/test/.eslintrc.js
@@ -0,0 +1,8 @@
+"use strict";
+
+module.exports = {
+  "extends": [
+    "plugin:mozilla/mochitest-test",
+    "plugin:mozilla/chrome-test",
+  ]
+};
new file mode 100644
--- /dev/null
+++ b/layout/generic/test/.eslintrc.js
@@ -0,0 +1,8 @@
+"use strict";
+
+module.exports = {
+  "extends": [
+    "plugin:mozilla/mochitest-test",
+    "plugin:mozilla/chrome-test",
+  ]
+};
new file mode 100644
--- /dev/null
+++ b/layout/inspector/tests/.eslintrc.js
@@ -0,0 +1,7 @@
+"use strict";
+
+module.exports = {
+  "extends": [
+    "plugin:mozilla/mochitest-test",
+  ]
+};
new file mode 100644
--- /dev/null
+++ b/layout/inspector/tests/chrome/.eslintrc.js
@@ -0,0 +1,7 @@
+"use strict";
+
+module.exports = {
+  "extends": [
+    "plugin:mozilla/chrome-test",
+  ]
+};
new file mode 100644
--- /dev/null
+++ b/layout/mathml/tests/.eslintrc.js
@@ -0,0 +1,8 @@
+"use strict";
+
+module.exports = {
+  "extends": [
+    "plugin:mozilla/mochitest-test",
+    "plugin:mozilla/chrome-test",
+  ]
+};
new file mode 100644
--- /dev/null
+++ b/layout/style/test/.eslintrc.js
@@ -0,0 +1,8 @@
+"use strict";
+
+module.exports = {
+  "extends": [
+    "plugin:mozilla/mochitest-test",
+    "plugin:mozilla/browser-test",
+  ]
+};
new file mode 100644
--- /dev/null
+++ b/layout/style/test/chrome/.eslintrc.js
@@ -0,0 +1,7 @@
+"use strict";
+
+module.exports = {
+  "extends": [
+    "plugin:mozilla/chrome-test",
+  ]
+};
new file mode 100644
--- /dev/null
+++ b/layout/svg/tests/.eslintrc.js
@@ -0,0 +1,8 @@
+"use strict";
+
+module.exports = {
+  "extends": [
+    "plugin:mozilla/mochitest-test",
+    "plugin:mozilla/chrome-test",
+  ]
+};
new file mode 100644
--- /dev/null
+++ b/layout/tables/test/.eslintrc.js
@@ -0,0 +1,7 @@
+"use strict";
+
+module.exports = {
+  "extends": [
+    "plugin:mozilla/mochitest-test",
+  ]
+};
new file mode 100644
--- /dev/null
+++ b/layout/tools/layout-debug/tests/browser/.eslintrc.js
@@ -0,0 +1,7 @@
+"use strict";
+
+module.exports = {
+  "extends": [
+    "plugin:mozilla/browser-test",
+  ]
+};
new file mode 100644
--- /dev/null
+++ b/layout/tools/layout-debug/tests/unit/.eslintrc.js
@@ -0,0 +1,7 @@
+"use strict";
+
+module.exports = {
+  "extends": [
+    "plugin:mozilla/xpcshell-test",
+  ]
+};
new file mode 100644
--- /dev/null
+++ b/layout/xul/test/.eslintrc.js
@@ -0,0 +1,9 @@
+"use strict";
+
+module.exports = {
+  "extends": [
+    "plugin:mozilla/mochitest-test",
+    "plugin:mozilla/browser-test",
+    "plugin:mozilla/chrome-test",
+  ]
+};
new file mode 100644
--- /dev/null
+++ b/widget/tests/.eslintrc.js
@@ -0,0 +1,8 @@
+"use strict";
+
+module.exports = {
+  "extends": [
+    "plugin:mozilla/chrome-test",
+    "plugin:mozilla/mochitest-test",
+  ]
+};
new file mode 100644
--- /dev/null
+++ b/widget/tests/unit/.eslintrc.js
@@ -0,0 +1,7 @@
+"use strict";
+
+module.exports = {
+  "extends": [
+    "plugin:mozilla/xpcshell-test",
+  ]
+};
new file mode 100644
--- /dev/null
+++ b/xpfe/appshell/test/.eslintrc.js
@@ -0,0 +1,7 @@
+"use strict";
+
+module.exports = {
+  "extends": [
+    "plugin:mozilla/chrome-test",
+  ]
+};