forked from mirrors/gecko-dev
Bug 1508980 - Add more .eslintrc.js files for dom/ and update .eslintignore. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D12529 --HG-- extra : moz-landing-system : lando
This commit is contained in:
parent
1687671372
commit
b1c872942c
19 changed files with 137 additions and 14 deletions
|
|
@ -184,20 +184,13 @@ dom/encoding/**
|
||||||
dom/events/**
|
dom/events/**
|
||||||
dom/fetch/**
|
dom/fetch/**
|
||||||
dom/file/**
|
dom/file/**
|
||||||
dom/filehandle/**
|
|
||||||
dom/filesystem/**
|
dom/filesystem/**
|
||||||
dom/flex/**
|
dom/flex/**
|
||||||
dom/gamepad/**
|
|
||||||
dom/geolocation/**
|
|
||||||
dom/grid/**
|
dom/grid/**
|
||||||
dom/html/**
|
dom/html/**
|
||||||
dom/imptests/**
|
|
||||||
dom/interfaces/**
|
|
||||||
dom/ipc/**
|
dom/ipc/**
|
||||||
dom/jsurl/**
|
dom/jsurl/**
|
||||||
dom/locales/**
|
|
||||||
dom/manifest/**
|
dom/manifest/**
|
||||||
dom/mathml/**
|
|
||||||
dom/media/test/**
|
dom/media/test/**
|
||||||
dom/media/tests/**
|
dom/media/tests/**
|
||||||
dom/media/webaudio/**
|
dom/media/webaudio/**
|
||||||
|
|
@ -208,17 +201,14 @@ dom/network/**
|
||||||
dom/notification/Notification*.*
|
dom/notification/Notification*.*
|
||||||
dom/notification/test/browser/**
|
dom/notification/test/browser/**
|
||||||
dom/notification/test/mochitest/**
|
dom/notification/test/mochitest/**
|
||||||
dom/offline/**
|
|
||||||
dom/payments/**
|
dom/payments/**
|
||||||
dom/performance/**
|
dom/performance/**
|
||||||
dom/permission/**
|
dom/permission/**
|
||||||
dom/plugins/test/mochitest/**
|
dom/plugins/test/mochitest/**
|
||||||
dom/plugins/test/unit/**
|
dom/plugins/test/unit/**
|
||||||
dom/power/**
|
|
||||||
dom/promise/**
|
dom/promise/**
|
||||||
dom/push/**
|
dom/push/**
|
||||||
dom/quota/**
|
dom/quota/**
|
||||||
dom/res/**
|
|
||||||
dom/security/test/cors/**
|
dom/security/test/cors/**
|
||||||
dom/security/test/csp/**
|
dom/security/test/csp/**
|
||||||
dom/security/test/general/**
|
dom/security/test/general/**
|
||||||
|
|
@ -227,21 +217,17 @@ dom/security/test/sri/**
|
||||||
dom/security/test/unit/**
|
dom/security/test/unit/**
|
||||||
dom/serviceworkers/**
|
dom/serviceworkers/**
|
||||||
dom/smil/**
|
dom/smil/**
|
||||||
dom/storage/**
|
|
||||||
dom/svg/**
|
dom/svg/**
|
||||||
dom/system/**
|
dom/system/**
|
||||||
dom/tests/browser/**
|
dom/tests/browser/**
|
||||||
dom/tests/html/**
|
dom/tests/html/**
|
||||||
dom/tests/js/**
|
|
||||||
dom/tests/mochitest/**
|
dom/tests/mochitest/**
|
||||||
dom/tests/unit/**
|
dom/tests/unit/**
|
||||||
dom/u2f/**
|
dom/u2f/**
|
||||||
dom/url/**
|
dom/url/**
|
||||||
dom/vr/**
|
dom/vr/**
|
||||||
dom/webauthn/**
|
dom/webauthn/**
|
||||||
dom/webbrowserpersist/**
|
|
||||||
dom/webgpu/**
|
dom/webgpu/**
|
||||||
dom/webidl/**
|
|
||||||
dom/websocket/**
|
dom/websocket/**
|
||||||
dom/workers/**
|
dom/workers/**
|
||||||
dom/worklet/**
|
dom/worklet/**
|
||||||
|
|
@ -253,6 +239,7 @@ dom/xul/**
|
||||||
|
|
||||||
# Third-party
|
# Third-party
|
||||||
dom/canvas/test/webgl-conf/**
|
dom/canvas/test/webgl-conf/**
|
||||||
|
dom/imptests/**
|
||||||
dom/media/webvtt/**
|
dom/media/webvtt/**
|
||||||
|
|
||||||
# Third-party
|
# Third-party
|
||||||
|
|
|
||||||
7
dom/base/test/unit/.eslintrc.js
Normal file
7
dom/base/test/unit/.eslintrc.js
Normal file
|
|
@ -0,0 +1,7 @@
|
||||||
|
"use strict";
|
||||||
|
|
||||||
|
module.exports = {
|
||||||
|
"extends": [
|
||||||
|
"plugin:mozilla/xpcshell-test",
|
||||||
|
],
|
||||||
|
};
|
||||||
7
dom/base/test/unit_ipc/.eslintrc.js
Normal file
7
dom/base/test/unit_ipc/.eslintrc.js
Normal file
|
|
@ -0,0 +1,7 @@
|
||||||
|
"use strict";
|
||||||
|
|
||||||
|
module.exports = {
|
||||||
|
"extends": [
|
||||||
|
"plugin:mozilla/xpcshell-test",
|
||||||
|
],
|
||||||
|
};
|
||||||
8
dom/file/tests/.eslintrc.js
Normal file
8
dom/file/tests/.eslintrc.js
Normal file
|
|
@ -0,0 +1,8 @@
|
||||||
|
"use strict";
|
||||||
|
|
||||||
|
module.exports = {
|
||||||
|
"extends": [
|
||||||
|
"plugin:mozilla/mochitest-test",
|
||||||
|
"plugin:mozilla/xpcshell-test"
|
||||||
|
]
|
||||||
|
};
|
||||||
7
dom/filesystem/tests/.eslintrc.js
Normal file
7
dom/filesystem/tests/.eslintrc.js
Normal file
|
|
@ -0,0 +1,7 @@
|
||||||
|
"use strict";
|
||||||
|
|
||||||
|
module.exports = {
|
||||||
|
"extends": [
|
||||||
|
"plugin:mozilla/mochitest-test",
|
||||||
|
]
|
||||||
|
};
|
||||||
7
dom/flex/test/.eslintrc.js
Normal file
7
dom/flex/test/.eslintrc.js
Normal file
|
|
@ -0,0 +1,7 @@
|
||||||
|
"use strict";
|
||||||
|
|
||||||
|
module.exports = {
|
||||||
|
"extends": [
|
||||||
|
"plugin:mozilla/chrome-test",
|
||||||
|
]
|
||||||
|
};
|
||||||
7
dom/grid/test/.eslintrc.js
Normal file
7
dom/grid/test/.eslintrc.js
Normal file
|
|
@ -0,0 +1,7 @@
|
||||||
|
"use strict";
|
||||||
|
|
||||||
|
module.exports = {
|
||||||
|
"extends": [
|
||||||
|
"plugin:mozilla/chrome-test",
|
||||||
|
]
|
||||||
|
};
|
||||||
9
dom/html/test/.eslintrc.js
Normal file
9
dom/html/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/html/test/forms/.eslintrc.js
Normal file
8
dom/html/test/forms/.eslintrc.js
Normal file
|
|
@ -0,0 +1,8 @@
|
||||||
|
"use strict";
|
||||||
|
|
||||||
|
module.exports = {
|
||||||
|
"extends": [
|
||||||
|
"plugin:mozilla/chrome-test",
|
||||||
|
"plugin:mozilla/mochitest-test",
|
||||||
|
]
|
||||||
|
};
|
||||||
9
dom/ipc/tests/.eslintrc.js
Normal file
9
dom/ipc/tests/.eslintrc.js
Normal file
|
|
@ -0,0 +1,9 @@
|
||||||
|
"use strict";
|
||||||
|
|
||||||
|
module.exports = {
|
||||||
|
"extends": [
|
||||||
|
"plugin:mozilla/browser-test",
|
||||||
|
"plugin:mozilla/mochitest-test",
|
||||||
|
"plugin:mozilla/xpcshell-test",
|
||||||
|
]
|
||||||
|
};
|
||||||
7
dom/jsurl/test/.eslintrc.js
Normal file
7
dom/jsurl/test/.eslintrc.js
Normal file
|
|
@ -0,0 +1,7 @@
|
||||||
|
"use strict";
|
||||||
|
|
||||||
|
module.exports = {
|
||||||
|
"extends": [
|
||||||
|
"plugin:mozilla/mochitest-test",
|
||||||
|
]
|
||||||
|
};
|
||||||
8
dom/manifest/test/.eslintrc.js
Normal file
8
dom/manifest/test/.eslintrc.js
Normal file
|
|
@ -0,0 +1,8 @@
|
||||||
|
"use strict";
|
||||||
|
|
||||||
|
module.exports = {
|
||||||
|
"extends": [
|
||||||
|
"plugin:mozilla/browser-test",
|
||||||
|
"plugin:mozilla/mochitest-test",
|
||||||
|
]
|
||||||
|
};
|
||||||
7
dom/notification/test/browser/.eslintrc.js
Normal file
7
dom/notification/test/browser/.eslintrc.js
Normal file
|
|
@ -0,0 +1,7 @@
|
||||||
|
"use strict";
|
||||||
|
|
||||||
|
module.exports = {
|
||||||
|
"extends": [
|
||||||
|
"plugin:mozilla/browser-test",
|
||||||
|
]
|
||||||
|
};
|
||||||
7
dom/notification/test/chrome/.eslintrc.js
Normal file
7
dom/notification/test/chrome/.eslintrc.js
Normal file
|
|
@ -0,0 +1,7 @@
|
||||||
|
"use strict";
|
||||||
|
|
||||||
|
module.exports = {
|
||||||
|
"extends": [
|
||||||
|
"plugin:mozilla/chrome-test",
|
||||||
|
]
|
||||||
|
};
|
||||||
7
dom/notification/test/mochitest/.eslintrc.js
Normal file
7
dom/notification/test/mochitest/.eslintrc.js
Normal file
|
|
@ -0,0 +1,7 @@
|
||||||
|
"use strict";
|
||||||
|
|
||||||
|
module.exports = {
|
||||||
|
"extends": [
|
||||||
|
"plugin:mozilla/mochitest-test",
|
||||||
|
]
|
||||||
|
};
|
||||||
9
dom/plugins/test/mochitest/.eslintrc.js
Normal file
9
dom/plugins/test/mochitest/.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/svg/test/.eslintrc.js
Normal file
7
dom/svg/test/.eslintrc.js
Normal file
|
|
@ -0,0 +1,7 @@
|
||||||
|
"use strict";
|
||||||
|
|
||||||
|
module.exports = {
|
||||||
|
"extends": [
|
||||||
|
"plugin:mozilla/mochitest-test",
|
||||||
|
]
|
||||||
|
};
|
||||||
8
dom/system/tests/.eslintrc.js
Normal file
8
dom/system/tests/.eslintrc.js
Normal file
|
|
@ -0,0 +1,8 @@
|
||||||
|
"use strict";
|
||||||
|
|
||||||
|
module.exports = {
|
||||||
|
"extends": [
|
||||||
|
"plugin:mozilla/chrome-test",
|
||||||
|
"plugin:mozilla/mochitest-test",
|
||||||
|
]
|
||||||
|
};
|
||||||
7
dom/tests/browser/.eslintrc.js
Normal file
7
dom/tests/browser/.eslintrc.js
Normal file
|
|
@ -0,0 +1,7 @@
|
||||||
|
"use strict";
|
||||||
|
|
||||||
|
module.exports = {
|
||||||
|
"extends": [
|
||||||
|
"plugin:mozilla/browser-test",
|
||||||
|
]
|
||||||
|
};
|
||||||
Loading…
Reference in a new issue