mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-01-24 05:44:10 +00:00
Bug 1501662 - Add more .eslintrc.js files for test directories (dom, modules, netwerk and parser). r=mossop
Differential Revision: https://phabricator.services.mozilla.com/D9661 --HG-- extra : moz-landing-system : lando
This commit is contained in:
parent
9379bf655d
commit
a26105ff45
@ -2,8 +2,6 @@
|
||||
|
||||
module.exports = {
|
||||
"extends": [
|
||||
"plugin:mozilla/browser-test",
|
||||
"plugin:mozilla/chrome-test",
|
||||
"plugin:mozilla/mochitest-test",
|
||||
],
|
||||
"plugins": [
|
||||
|
7
dom/abort/tests/unit/.eslintrc.js
Normal file
7
dom/abort/tests/unit/.eslintrc.js
Normal file
@ -0,0 +1,7 @@
|
||||
"use strict";
|
||||
|
||||
module.exports = {
|
||||
"extends": [
|
||||
"plugin:mozilla/xpcshell-test",
|
||||
],
|
||||
};
|
7
dom/animation/test/chrome/.eslintrc.js
Normal file
7
dom/animation/test/chrome/.eslintrc.js
Normal file
@ -0,0 +1,7 @@
|
||||
"use strict";
|
||||
|
||||
module.exports = {
|
||||
"extends": [
|
||||
"plugin:mozilla/chrome-test",
|
||||
],
|
||||
};
|
7
dom/animation/test/mozilla/.eslintrc.js
Normal file
7
dom/animation/test/mozilla/.eslintrc.js
Normal file
@ -0,0 +1,7 @@
|
||||
"use strict";
|
||||
|
||||
module.exports = {
|
||||
"extends": [
|
||||
"plugin:mozilla/mochitest-test",
|
||||
],
|
||||
};
|
7
dom/animation/test/style/.eslintrc.js
Normal file
7
dom/animation/test/style/.eslintrc.js
Normal file
@ -0,0 +1,7 @@
|
||||
"use strict";
|
||||
|
||||
module.exports = {
|
||||
"extends": [
|
||||
"plugin:mozilla/mochitest-test",
|
||||
],
|
||||
};
|
7
dom/asmjscache/test/.eslintrc.js
Normal file
7
dom/asmjscache/test/.eslintrc.js
Normal file
@ -0,0 +1,7 @@
|
||||
"use strict";
|
||||
|
||||
module.exports = {
|
||||
"extends": [
|
||||
"plugin:mozilla/mochitest-test",
|
||||
],
|
||||
};
|
9
dom/base/test/.eslintrc.js
Normal file
9
dom/base/test/.eslintrc.js
Normal file
@ -0,0 +1,9 @@
|
||||
"use strict";
|
||||
|
||||
module.exports = {
|
||||
"extends": [
|
||||
"plugin:mozilla/browser-test",
|
||||
"plugin:mozilla/chrome-test",
|
||||
"plugin:mozilla/mochitest-test",
|
||||
],
|
||||
};
|
8
dom/battery/test/.eslintrc.js
Normal file
8
dom/battery/test/.eslintrc.js
Normal file
@ -0,0 +1,8 @@
|
||||
"use strict";
|
||||
|
||||
module.exports = {
|
||||
"extends": [
|
||||
"plugin:mozilla/chrome-test",
|
||||
"plugin:mozilla/mochitest-test",
|
||||
],
|
||||
};
|
8
dom/bindings/test/.eslintrc.js
Normal file
8
dom/bindings/test/.eslintrc.js
Normal file
@ -0,0 +1,8 @@
|
||||
"use strict";
|
||||
|
||||
module.exports = {
|
||||
"extends": [
|
||||
"plugin:mozilla/chrome-test",
|
||||
"plugin:mozilla/mochitest-test",
|
||||
],
|
||||
};
|
8
dom/broadcastchannel/tests/.eslintrc.js
Normal file
8
dom/broadcastchannel/tests/.eslintrc.js
Normal file
@ -0,0 +1,8 @@
|
||||
"use strict";
|
||||
|
||||
module.exports = {
|
||||
"extends": [
|
||||
"plugin:mozilla/browser-test",
|
||||
"plugin:mozilla/mochitest-test",
|
||||
],
|
||||
};
|
8
dom/browser-element/mochitest/.eslintrc.js
Normal file
8
dom/browser-element/mochitest/.eslintrc.js
Normal file
@ -0,0 +1,8 @@
|
||||
"use strict";
|
||||
|
||||
module.exports = {
|
||||
"extends": [
|
||||
"plugin:mozilla/chrome-test",
|
||||
"plugin:mozilla/mochitest-test",
|
||||
],
|
||||
};
|
9
dom/cache/test/mochitest/.eslintrc.js
vendored
Normal file
9
dom/cache/test/mochitest/.eslintrc.js
vendored
Normal file
@ -0,0 +1,9 @@
|
||||
"use strict";
|
||||
|
||||
module.exports = {
|
||||
"extends": [
|
||||
"plugin:mozilla/browser-test",
|
||||
"plugin:mozilla/chrome-test",
|
||||
"plugin:mozilla/mochitest-test",
|
||||
]
|
||||
};
|
7
dom/canvas/test/.eslintrc.js
Normal file
7
dom/canvas/test/.eslintrc.js
Normal file
@ -0,0 +1,7 @@
|
||||
"use strict";
|
||||
|
||||
module.exports = {
|
||||
"extends": [
|
||||
"plugin:mozilla/mochitest-test",
|
||||
]
|
||||
};
|
7
dom/canvas/test/chrome/.eslintrc.js
Normal file
7
dom/canvas/test/chrome/.eslintrc.js
Normal file
@ -0,0 +1,7 @@
|
||||
"use strict";
|
||||
|
||||
module.exports = {
|
||||
"extends": [
|
||||
"plugin:mozilla/chrome-test",
|
||||
]
|
||||
};
|
8
dom/console/tests/.eslintrc.js
Normal file
8
dom/console/tests/.eslintrc.js
Normal file
@ -0,0 +1,8 @@
|
||||
"use strict";
|
||||
|
||||
module.exports = {
|
||||
"extends": [
|
||||
"plugin:mozilla/chrome-test",
|
||||
"plugin:mozilla/mochitest-test",
|
||||
]
|
||||
};
|
7
dom/console/tests/xpcshell/.eslintrc.js
Normal file
7
dom/console/tests/xpcshell/.eslintrc.js
Normal file
@ -0,0 +1,7 @@
|
||||
"use strict";
|
||||
|
||||
module.exports = {
|
||||
"extends": [
|
||||
"plugin:mozilla/xpcshell-test",
|
||||
]
|
||||
};
|
7
dom/crypto/test/.eslintrc.js
Normal file
7
dom/crypto/test/.eslintrc.js
Normal file
@ -0,0 +1,7 @@
|
||||
"use strict";
|
||||
|
||||
module.exports = {
|
||||
"extends": [
|
||||
"plugin:mozilla/mochitest-test",
|
||||
]
|
||||
};
|
8
dom/encoding/test/.eslintrc.js
Normal file
8
dom/encoding/test/.eslintrc.js
Normal file
@ -0,0 +1,8 @@
|
||||
"use strict";
|
||||
|
||||
module.exports = {
|
||||
"extends": [
|
||||
"plugin:mozilla/chrome-test",
|
||||
"plugin:mozilla/mochitest-test",
|
||||
]
|
||||
};
|
7
dom/encoding/test/unit/.eslintrc.js
Normal file
7
dom/encoding/test/unit/.eslintrc.js
Normal file
@ -0,0 +1,7 @@
|
||||
"use strict";
|
||||
|
||||
module.exports = {
|
||||
"extends": [
|
||||
"plugin:mozilla/xpcshell-test",
|
||||
]
|
||||
};
|
9
dom/events/test/.eslintrc.js
Normal file
9
dom/events/test/.eslintrc.js
Normal file
@ -0,0 +1,9 @@
|
||||
"use strict";
|
||||
|
||||
module.exports = {
|
||||
"extends": [
|
||||
"plugin:mozilla/browser-test",
|
||||
"plugin:mozilla/chrome-test",
|
||||
"plugin:mozilla/mochitest-test",
|
||||
]
|
||||
};
|
7
dom/fetch/tests/.eslintrc.js
Normal file
7
dom/fetch/tests/.eslintrc.js
Normal file
@ -0,0 +1,7 @@
|
||||
"use strict";
|
||||
|
||||
module.exports = {
|
||||
"extends": [
|
||||
"plugin:mozilla/browser-test",
|
||||
]
|
||||
};
|
7
modules/libjar/test/mochitest/.eslintrc.js
Normal file
7
modules/libjar/test/mochitest/.eslintrc.js
Normal file
@ -0,0 +1,7 @@
|
||||
"use strict";
|
||||
|
||||
module.exports = {
|
||||
"extends": [
|
||||
"plugin:mozilla/mochitest-test",
|
||||
]
|
||||
};
|
7
modules/libjar/test/unit/.eslintrc.js
Normal file
7
modules/libjar/test/unit/.eslintrc.js
Normal file
@ -0,0 +1,7 @@
|
||||
"use strict";
|
||||
|
||||
module.exports = {
|
||||
"extends": [
|
||||
"plugin:mozilla/xpcshell-test",
|
||||
]
|
||||
};
|
7
modules/libjar/zipwriter/test/unit/.eslintrc.js
Normal file
7
modules/libjar/zipwriter/test/unit/.eslintrc.js
Normal file
@ -0,0 +1,7 @@
|
||||
"use strict";
|
||||
|
||||
module.exports = {
|
||||
"extends": [
|
||||
"plugin:mozilla/xpcshell-test",
|
||||
]
|
||||
};
|
7
modules/libmar/tests/unit/.eslintrc.js
Normal file
7
modules/libmar/tests/unit/.eslintrc.js
Normal file
@ -0,0 +1,7 @@
|
||||
"use strict";
|
||||
|
||||
module.exports = {
|
||||
"extends": [
|
||||
"plugin:mozilla/xpcshell-test",
|
||||
]
|
||||
};
|
7
modules/libpref/test/unit/.eslintrc.js
Normal file
7
modules/libpref/test/unit/.eslintrc.js
Normal file
@ -0,0 +1,7 @@
|
||||
"use strict";
|
||||
|
||||
module.exports = {
|
||||
"extends": [
|
||||
"plugin:mozilla/xpcshell-test",
|
||||
]
|
||||
};
|
7
modules/libpref/test/unit_ipc/.eslintrc.js
Normal file
7
modules/libpref/test/unit_ipc/.eslintrc.js
Normal file
@ -0,0 +1,7 @@
|
||||
"use strict";
|
||||
|
||||
module.exports = {
|
||||
"extends": [
|
||||
"plugin:mozilla/xpcshell-test",
|
||||
]
|
||||
};
|
7
netwerk/cookie/test/browser/.eslintrc.js
Normal file
7
netwerk/cookie/test/browser/.eslintrc.js
Normal file
@ -0,0 +1,7 @@
|
||||
"use strict";
|
||||
|
||||
module.exports = {
|
||||
"extends": [
|
||||
"plugin:mozilla/browser-test",
|
||||
]
|
||||
};
|
7
netwerk/test/browser/.eslintrc.js
Normal file
7
netwerk/test/browser/.eslintrc.js
Normal file
@ -0,0 +1,7 @@
|
||||
"use strict";
|
||||
|
||||
module.exports = {
|
||||
"extends": [
|
||||
"plugin:mozilla/browser-test",
|
||||
]
|
||||
};
|
7
netwerk/test/mochitests/.eslintrc.js
Normal file
7
netwerk/test/mochitests/.eslintrc.js
Normal file
@ -0,0 +1,7 @@
|
||||
"use strict";
|
||||
|
||||
module.exports = {
|
||||
"extends": [
|
||||
"plugin:mozilla/mochitest-test",
|
||||
]
|
||||
};
|
8
parser/htmlparser/tests/mochitest/.eslintrc.js
Normal file
8
parser/htmlparser/tests/mochitest/.eslintrc.js
Normal file
@ -0,0 +1,8 @@
|
||||
"use strict";
|
||||
|
||||
module.exports = {
|
||||
"extends": [
|
||||
"plugin:mozilla/browser-test",
|
||||
"plugin:mozilla/mochitest-test",
|
||||
]
|
||||
};
|
7
parser/xml/test/unit/.eslintrc.js
Normal file
7
parser/xml/test/unit/.eslintrc.js
Normal file
@ -0,0 +1,7 @@
|
||||
"use strict";
|
||||
|
||||
module.exports = {
|
||||
"extends": [
|
||||
"plugin:mozilla/xpcshell-test",
|
||||
]
|
||||
};
|
Loading…
x
Reference in New Issue
Block a user