From be18fd4dba9d56a88d3506f448223fdbfeef9fb7 Mon Sep 17 00:00:00 2001 From: Sylvestre Ledru <sledru@mozilla.com> Date: Thu, 19 Mar 2020 13:47:51 +0000 Subject: [PATCH] Bug 1622328 - add license info to all eslintrc files r=Standard8,webcompat-reviewers,miketaylr Differential Revision: https://phabricator.services.mozilla.com/D67319 --HG-- extra : moz-landing-system : lando --- .babel-eslint.rc.js | 4 ++++ browser/.eslintrc.js | 4 ++++ browser/components/.eslintrc.js | 4 ++++ browser/components/aboutlogins/content/.eslintrc.js | 4 ++++ .../components/aboutlogins/content/components/.eslintrc.js | 4 ++++ browser/components/customizableui/content/.eslintrc.js | 4 ++++ browser/components/extensions/.eslintrc.js | 4 ++++ browser/components/extensions/child/.eslintrc.js | 4 ++++ browser/components/extensions/parent/.eslintrc.js | 4 ++++ browser/components/migration/.eslintrc.js | 4 ++++ browser/components/newtab/.eslintrc.js | 4 ++++ browser/components/newtab/content-src/.eslintrc.js | 4 ++++ browser/components/payments/.eslintrc.js | 4 ++++ browser/components/protections/.eslintrc.js | 4 ++++ browser/components/search/.eslintrc.js | 4 ++++ browser/components/translation/content/.eslintrc.js | 4 ++++ browser/components/urlbar/.eslintrc.js | 4 ++++ browser/extensions/formautofill/.eslintrc.js | 4 ++++ browser/extensions/report-site-issue/.eslintrc.js | 4 ++++ browser/tools/mozscreenshots/.eslintrc.js | 4 ++++ devtools/.eslintrc.js | 4 ++++ devtools/.eslintrc.mochitests.js | 4 ++++ devtools/.eslintrc.xpcshell.js | 4 ++++ devtools/client/.eslintrc.js | 4 ++++ devtools/client/debugger/.prettierrc.js | 4 ++++ devtools/client/dom/.eslintrc.js | 4 ++++ devtools/client/inspector/.eslintrc.js | 4 ++++ devtools/client/jsonview/.eslintrc.js | 4 ++++ devtools/client/memory/.eslintrc.js | 4 ++++ devtools/client/performance-new/.eslintrc.js | 4 ++++ devtools/client/shared/components/.eslintrc.js | 4 ++++ devtools/client/shared/redux/middleware/xpcshell/.eslintrc.js | 4 ++++ devtools/client/shared/sourceeditor/.eslintrc.js | 4 ++++ devtools/shared/.eslintrc.js | 4 ++++ devtools/shared/adb/xpcshell/.eslintrc.js | 4 ++++ devtools/shared/performance/xpcshell/.eslintrc.js | 4 ++++ js/src/builtin/.eslintrc.js | 4 ++++ js/src/shell/.eslintrc.js | 4 ++++ mobile/android/.eslintrc.js | 4 ++++ .../app/src/main/assets/messaging/.eslintrc.js | 4 ++++ .../app/src/main/assets/messaging/.eslintrc.js | 4 ++++ mobile/android/modules/geckoview/.eslintrc.js | 4 ++++ security/.eslintrc.js | 4 ++++ security/manager/tools/.eslintrc.js | 4 ++++ services/automation/.eslintrc.js | 4 ++++ taskcluster/docker/index-task/.eslintrc.js | 4 ++++ taskcluster/docker/periodic-updates/.eslintrc.js | 4 ++++ toolkit/.eslintrc.js | 4 ++++ toolkit/components/certviewer/content/.eslintrc.js | 4 ++++ toolkit/components/extensions/.eslintrc.js | 4 ++++ toolkit/components/extensions/child/.eslintrc.js | 4 ++++ toolkit/components/extensions/parent/.eslintrc.js | 4 ++++ toolkit/components/narrate/.eslintrc.js | 4 ++++ toolkit/components/passwordmgr/.eslintrc.js | 4 ++++ toolkit/components/reader/.eslintrc.js | 4 ++++ toolkit/components/satchel/.eslintrc.js | 4 ++++ toolkit/components/search/.eslintrc.js | 4 ++++ toolkit/content/.eslintrc.js | 4 ++++ toolkit/modules/subprocess/.eslintrc.js | 4 ++++ toolkit/mozapps/extensions/.eslintrc.js | 4 ++++ toolkit/profile/xpcshell/.eslintrc.js | 4 ++++ tools/lint/eslint/.eslintrc.js | 4 ++++ tools/quitter/.eslintrc.js | 4 ++++ tools/tryselect/selectors/chooser/.eslintrc.js | 4 ++++ 64 files changed, 256 insertions(+) diff --git a/.babel-eslint.rc.js b/.babel-eslint.rc.js index afc7d7c98a4ce..3d691dcecd06c 100644 --- a/.babel-eslint.rc.js +++ b/.babel-eslint.rc.js @@ -1,3 +1,7 @@ +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ + module.exports = { plugins: [ "@babel/plugin-syntax-optional-chaining", diff --git a/browser/.eslintrc.js b/browser/.eslintrc.js index b345038e3e565..2461a90b6718a 100644 --- a/browser/.eslintrc.js +++ b/browser/.eslintrc.js @@ -1,3 +1,7 @@ +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ + "use strict"; module.exports = { diff --git a/browser/components/.eslintrc.js b/browser/components/.eslintrc.js index c6c6fa502c9ac..52bf9c5e322ce 100644 --- a/browser/components/.eslintrc.js +++ b/browser/components/.eslintrc.js @@ -1,3 +1,7 @@ +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ + "use strict"; module.exports = { diff --git a/browser/components/aboutlogins/content/.eslintrc.js b/browser/components/aboutlogins/content/.eslintrc.js index f811aa790b28c..c85129a731f04 100644 --- a/browser/components/aboutlogins/content/.eslintrc.js +++ b/browser/components/aboutlogins/content/.eslintrc.js @@ -1,3 +1,7 @@ +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ + "use strict"; module.exports = { diff --git a/browser/components/aboutlogins/content/components/.eslintrc.js b/browser/components/aboutlogins/content/components/.eslintrc.js index f811aa790b28c..c85129a731f04 100644 --- a/browser/components/aboutlogins/content/components/.eslintrc.js +++ b/browser/components/aboutlogins/content/components/.eslintrc.js @@ -1,3 +1,7 @@ +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ + "use strict"; module.exports = { diff --git a/browser/components/customizableui/content/.eslintrc.js b/browser/components/customizableui/content/.eslintrc.js index f6f548d93ff30..43ab18578daa0 100644 --- a/browser/components/customizableui/content/.eslintrc.js +++ b/browser/components/customizableui/content/.eslintrc.js @@ -1,3 +1,7 @@ +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ + "use strict"; module.exports = { diff --git a/browser/components/extensions/.eslintrc.js b/browser/components/extensions/.eslintrc.js index 177c9922b2630..ae06935e90d94 100644 --- a/browser/components/extensions/.eslintrc.js +++ b/browser/components/extensions/.eslintrc.js @@ -1,3 +1,7 @@ +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ + "use strict"; module.exports = { diff --git a/browser/components/extensions/child/.eslintrc.js b/browser/components/extensions/child/.eslintrc.js index 7273998e4a77c..3073b22caf786 100644 --- a/browser/components/extensions/child/.eslintrc.js +++ b/browser/components/extensions/child/.eslintrc.js @@ -1,3 +1,7 @@ +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ + "use strict"; module.exports = { diff --git a/browser/components/extensions/parent/.eslintrc.js b/browser/components/extensions/parent/.eslintrc.js index 4dc46f3cbfc6e..632ab1d218b03 100644 --- a/browser/components/extensions/parent/.eslintrc.js +++ b/browser/components/extensions/parent/.eslintrc.js @@ -1,3 +1,7 @@ +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ + "use strict"; module.exports = { diff --git a/browser/components/migration/.eslintrc.js b/browser/components/migration/.eslintrc.js index 8ccd5bdf113cf..a0a02387644e0 100644 --- a/browser/components/migration/.eslintrc.js +++ b/browser/components/migration/.eslintrc.js @@ -1,3 +1,7 @@ +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ + "use strict"; module.exports = { diff --git a/browser/components/newtab/.eslintrc.js b/browser/components/newtab/.eslintrc.js index 7d5055ff707bb..e166a246bc461 100644 --- a/browser/components/newtab/.eslintrc.js +++ b/browser/components/newtab/.eslintrc.js @@ -1,3 +1,7 @@ +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ + module.exports = { // When adding items to this file please check for effects on sub-directories. parserOptions: { diff --git a/browser/components/newtab/content-src/.eslintrc.js b/browser/components/newtab/content-src/.eslintrc.js index 0733d6ce2836d..fec99b40e00f5 100644 --- a/browser/components/newtab/content-src/.eslintrc.js +++ b/browser/components/newtab/content-src/.eslintrc.js @@ -1,3 +1,7 @@ +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ + /* eslint-disable import/no-commonjs */ module.exports = { diff --git a/browser/components/payments/.eslintrc.js b/browser/components/payments/.eslintrc.js index 08549fdac1c1a..249713292733f 100644 --- a/browser/components/payments/.eslintrc.js +++ b/browser/components/payments/.eslintrc.js @@ -1,3 +1,7 @@ +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ + "use strict"; module.exports = { diff --git a/browser/components/protections/.eslintrc.js b/browser/components/protections/.eslintrc.js index f811aa790b28c..c85129a731f04 100644 --- a/browser/components/protections/.eslintrc.js +++ b/browser/components/protections/.eslintrc.js @@ -1,3 +1,7 @@ +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ + "use strict"; module.exports = { diff --git a/browser/components/search/.eslintrc.js b/browser/components/search/.eslintrc.js index 2cbe6f4e24182..df5578171dc0a 100644 --- a/browser/components/search/.eslintrc.js +++ b/browser/components/search/.eslintrc.js @@ -1,3 +1,7 @@ +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ + "use strict"; module.exports = { diff --git a/browser/components/translation/content/.eslintrc.js b/browser/components/translation/content/.eslintrc.js index f6f548d93ff30..43ab18578daa0 100644 --- a/browser/components/translation/content/.eslintrc.js +++ b/browser/components/translation/content/.eslintrc.js @@ -1,3 +1,7 @@ +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ + "use strict"; module.exports = { diff --git a/browser/components/urlbar/.eslintrc.js b/browser/components/urlbar/.eslintrc.js index 6cfbf408f5c0b..8218b7f0898e4 100644 --- a/browser/components/urlbar/.eslintrc.js +++ b/browser/components/urlbar/.eslintrc.js @@ -1,3 +1,7 @@ +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ + "use strict"; module.exports = { diff --git a/browser/extensions/formautofill/.eslintrc.js b/browser/extensions/formautofill/.eslintrc.js index 6e438f431d60b..0187f91da3627 100644 --- a/browser/extensions/formautofill/.eslintrc.js +++ b/browser/extensions/formautofill/.eslintrc.js @@ -1,3 +1,7 @@ +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ + "use strict"; module.exports = { diff --git a/browser/extensions/report-site-issue/.eslintrc.js b/browser/extensions/report-site-issue/.eslintrc.js index 7db27dfc47a0c..e26bd6da3f110 100644 --- a/browser/extensions/report-site-issue/.eslintrc.js +++ b/browser/extensions/report-site-issue/.eslintrc.js @@ -1,3 +1,7 @@ +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ + "use strict"; module.exports = { diff --git a/browser/tools/mozscreenshots/.eslintrc.js b/browser/tools/mozscreenshots/.eslintrc.js index be0ff469c92bb..195cc854a55bf 100644 --- a/browser/tools/mozscreenshots/.eslintrc.js +++ b/browser/tools/mozscreenshots/.eslintrc.js @@ -1,3 +1,7 @@ +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ + "use strict"; module.exports = { diff --git a/devtools/.eslintrc.js b/devtools/.eslintrc.js index 330e1e9fff3e6..b6ab71a0da3bf 100644 --- a/devtools/.eslintrc.js +++ b/devtools/.eslintrc.js @@ -1,3 +1,7 @@ +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ + "use strict"; module.exports = { diff --git a/devtools/.eslintrc.mochitests.js b/devtools/.eslintrc.mochitests.js index 6eb7f66ea565c..2a0ce303b495f 100644 --- a/devtools/.eslintrc.mochitests.js +++ b/devtools/.eslintrc.mochitests.js @@ -1,3 +1,7 @@ +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ + // Parent config file for all devtools browser mochitest files. module.exports = { "extends": [ diff --git a/devtools/.eslintrc.xpcshell.js b/devtools/.eslintrc.xpcshell.js index 0a1d6550e2fdc..0eea96b8690c6 100644 --- a/devtools/.eslintrc.xpcshell.js +++ b/devtools/.eslintrc.xpcshell.js @@ -1,3 +1,7 @@ +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ + // Parent config file for all devtools xpcshell files. module.exports = { "extends": [ diff --git a/devtools/client/.eslintrc.js b/devtools/client/.eslintrc.js index 321cdeeffa891..81eb6568ee5bd 100644 --- a/devtools/client/.eslintrc.js +++ b/devtools/client/.eslintrc.js @@ -1,3 +1,7 @@ +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ + "use strict"; module.exports = { diff --git a/devtools/client/debugger/.prettierrc.js b/devtools/client/debugger/.prettierrc.js index 37ec8de80d37a..71adaa1aa9e54 100644 --- a/devtools/client/debugger/.prettierrc.js +++ b/devtools/client/debugger/.prettierrc.js @@ -1,3 +1,7 @@ +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ + const fs = require("fs"); module.exports = { diff --git a/devtools/client/dom/.eslintrc.js b/devtools/client/dom/.eslintrc.js index 53235d15b48c0..8e2ca9a042b02 100644 --- a/devtools/client/dom/.eslintrc.js +++ b/devtools/client/dom/.eslintrc.js @@ -1,3 +1,7 @@ +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ + "use strict"; module.exports = { diff --git a/devtools/client/inspector/.eslintrc.js b/devtools/client/inspector/.eslintrc.js index 6190f90f82fe3..c1782e594cd8f 100644 --- a/devtools/client/inspector/.eslintrc.js +++ b/devtools/client/inspector/.eslintrc.js @@ -1,3 +1,7 @@ +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ + "use strict"; module.exports = { diff --git a/devtools/client/jsonview/.eslintrc.js b/devtools/client/jsonview/.eslintrc.js index 45d39dce8bf75..cd16102c9812d 100644 --- a/devtools/client/jsonview/.eslintrc.js +++ b/devtools/client/jsonview/.eslintrc.js @@ -1,3 +1,7 @@ +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ + "use strict"; module.exports = { diff --git a/devtools/client/memory/.eslintrc.js b/devtools/client/memory/.eslintrc.js index c4e3f559e745b..5500a7eb10b08 100644 --- a/devtools/client/memory/.eslintrc.js +++ b/devtools/client/memory/.eslintrc.js @@ -1,3 +1,7 @@ +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ + "use strict"; module.exports = { diff --git a/devtools/client/performance-new/.eslintrc.js b/devtools/client/performance-new/.eslintrc.js index 7fc4cd0147f8e..bb4f0e5e1665c 100644 --- a/devtools/client/performance-new/.eslintrc.js +++ b/devtools/client/performance-new/.eslintrc.js @@ -1,3 +1,7 @@ +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ + "use strict"; module.exports = { diff --git a/devtools/client/shared/components/.eslintrc.js b/devtools/client/shared/components/.eslintrc.js index 1842ba09a5266..b67123ad2ce11 100644 --- a/devtools/client/shared/components/.eslintrc.js +++ b/devtools/client/shared/components/.eslintrc.js @@ -1,3 +1,7 @@ +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ + "use strict"; module.exports = { diff --git a/devtools/client/shared/redux/middleware/xpcshell/.eslintrc.js b/devtools/client/shared/redux/middleware/xpcshell/.eslintrc.js index 89edb9d4b233c..032dbbbefe364 100644 --- a/devtools/client/shared/redux/middleware/xpcshell/.eslintrc.js +++ b/devtools/client/shared/redux/middleware/xpcshell/.eslintrc.js @@ -1,3 +1,7 @@ +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ + "use strict"; module.exports = { diff --git a/devtools/client/shared/sourceeditor/.eslintrc.js b/devtools/client/shared/sourceeditor/.eslintrc.js index 3bbd5adcad035..0b078ccf4010a 100644 --- a/devtools/client/shared/sourceeditor/.eslintrc.js +++ b/devtools/client/shared/sourceeditor/.eslintrc.js @@ -1,3 +1,7 @@ +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ + "use strict"; module.exports = { diff --git a/devtools/shared/.eslintrc.js b/devtools/shared/.eslintrc.js index a0f7c966d8691..1ec0251734d3a 100644 --- a/devtools/shared/.eslintrc.js +++ b/devtools/shared/.eslintrc.js @@ -1,3 +1,7 @@ +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ + "use strict"; module.exports = { diff --git a/devtools/shared/adb/xpcshell/.eslintrc.js b/devtools/shared/adb/xpcshell/.eslintrc.js index 6581a0bf32ee3..626f662ba522d 100644 --- a/devtools/shared/adb/xpcshell/.eslintrc.js +++ b/devtools/shared/adb/xpcshell/.eslintrc.js @@ -1,3 +1,7 @@ +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ + "use strict"; module.exports = { diff --git a/devtools/shared/performance/xpcshell/.eslintrc.js b/devtools/shared/performance/xpcshell/.eslintrc.js index df720af35c22e..6cb13c0af4ce6 100644 --- a/devtools/shared/performance/xpcshell/.eslintrc.js +++ b/devtools/shared/performance/xpcshell/.eslintrc.js @@ -1,3 +1,7 @@ +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ + "use strict"; module.exports = { diff --git a/js/src/builtin/.eslintrc.js b/js/src/builtin/.eslintrc.js index 29a2d3b83f312..ddaad0e09f1d2 100644 --- a/js/src/builtin/.eslintrc.js +++ b/js/src/builtin/.eslintrc.js @@ -1,3 +1,7 @@ +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ + "use strict"; module.exports = { diff --git a/js/src/shell/.eslintrc.js b/js/src/shell/.eslintrc.js index 3e8d7942e3dff..029c34579071f 100644 --- a/js/src/shell/.eslintrc.js +++ b/js/src/shell/.eslintrc.js @@ -1,3 +1,7 @@ +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ + "use strict"; module.exports = { diff --git a/mobile/android/.eslintrc.js b/mobile/android/.eslintrc.js index d3442147805a7..44823eae9477b 100644 --- a/mobile/android/.eslintrc.js +++ b/mobile/android/.eslintrc.js @@ -1,3 +1,7 @@ +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ + "use strict"; module.exports = { diff --git a/mobile/android/examples/messaging_example/app/src/main/assets/messaging/.eslintrc.js b/mobile/android/examples/messaging_example/app/src/main/assets/messaging/.eslintrc.js index e57058ecb1c4a..c5fda00676412 100644 --- a/mobile/android/examples/messaging_example/app/src/main/assets/messaging/.eslintrc.js +++ b/mobile/android/examples/messaging_example/app/src/main/assets/messaging/.eslintrc.js @@ -1,3 +1,7 @@ +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ + "use strict"; module.exports = { diff --git a/mobile/android/examples/port_messaging_example/app/src/main/assets/messaging/.eslintrc.js b/mobile/android/examples/port_messaging_example/app/src/main/assets/messaging/.eslintrc.js index e57058ecb1c4a..c5fda00676412 100644 --- a/mobile/android/examples/port_messaging_example/app/src/main/assets/messaging/.eslintrc.js +++ b/mobile/android/examples/port_messaging_example/app/src/main/assets/messaging/.eslintrc.js @@ -1,3 +1,7 @@ +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ + "use strict"; module.exports = { diff --git a/mobile/android/modules/geckoview/.eslintrc.js b/mobile/android/modules/geckoview/.eslintrc.js index 271c09dfc360f..6b95ae40268bd 100644 --- a/mobile/android/modules/geckoview/.eslintrc.js +++ b/mobile/android/modules/geckoview/.eslintrc.js @@ -1,3 +1,7 @@ +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ + "use strict"; module.exports = { diff --git a/security/.eslintrc.js b/security/.eslintrc.js index 4b4748c5fb09e..ab27326778870 100644 --- a/security/.eslintrc.js +++ b/security/.eslintrc.js @@ -1,3 +1,7 @@ +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ + "use strict"; module.exports = { diff --git a/security/manager/tools/.eslintrc.js b/security/manager/tools/.eslintrc.js index 06c4e5248ec5a..44c1d9cba600d 100644 --- a/security/manager/tools/.eslintrc.js +++ b/security/manager/tools/.eslintrc.js @@ -1,3 +1,7 @@ +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ + "use strict"; module.exports = { diff --git a/services/automation/.eslintrc.js b/services/automation/.eslintrc.js index 638738894c820..21c7383fe2ad0 100644 --- a/services/automation/.eslintrc.js +++ b/services/automation/.eslintrc.js @@ -1,3 +1,7 @@ +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ + "use strict"; module.exports = { diff --git a/taskcluster/docker/index-task/.eslintrc.js b/taskcluster/docker/index-task/.eslintrc.js index 4406e04a0b6fb..ff84d9cb69a92 100644 --- a/taskcluster/docker/index-task/.eslintrc.js +++ b/taskcluster/docker/index-task/.eslintrc.js @@ -1,3 +1,7 @@ +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ + "use strict"; module.exports = { diff --git a/taskcluster/docker/periodic-updates/.eslintrc.js b/taskcluster/docker/periodic-updates/.eslintrc.js index c9e349cf80d68..b00eb26544130 100644 --- a/taskcluster/docker/periodic-updates/.eslintrc.js +++ b/taskcluster/docker/periodic-updates/.eslintrc.js @@ -1,3 +1,7 @@ +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ + "use strict"; module.exports = { diff --git a/toolkit/.eslintrc.js b/toolkit/.eslintrc.js index c79cf495f398b..9181dfce0cdbf 100644 --- a/toolkit/.eslintrc.js +++ b/toolkit/.eslintrc.js @@ -1,3 +1,7 @@ +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ + "use strict"; module.exports = { diff --git a/toolkit/components/certviewer/content/.eslintrc.js b/toolkit/components/certviewer/content/.eslintrc.js index 571d69a7b39a7..53d23f831d061 100644 --- a/toolkit/components/certviewer/content/.eslintrc.js +++ b/toolkit/components/certviewer/content/.eslintrc.js @@ -1,3 +1,7 @@ +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ + module.exports = { parserOptions: { sourceType: "module", diff --git a/toolkit/components/extensions/.eslintrc.js b/toolkit/components/extensions/.eslintrc.js index caf8d2aaece77..8b68a8c6abcc7 100644 --- a/toolkit/components/extensions/.eslintrc.js +++ b/toolkit/components/extensions/.eslintrc.js @@ -1,3 +1,7 @@ +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ + "use strict"; module.exports = { diff --git a/toolkit/components/extensions/child/.eslintrc.js b/toolkit/components/extensions/child/.eslintrc.js index 001e5265594d7..01f6e45d35ae0 100644 --- a/toolkit/components/extensions/child/.eslintrc.js +++ b/toolkit/components/extensions/child/.eslintrc.js @@ -1,3 +1,7 @@ +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ + "use strict"; module.exports = { diff --git a/toolkit/components/extensions/parent/.eslintrc.js b/toolkit/components/extensions/parent/.eslintrc.js index 9a2d234190f85..356dda7c70e91 100644 --- a/toolkit/components/extensions/parent/.eslintrc.js +++ b/toolkit/components/extensions/parent/.eslintrc.js @@ -1,3 +1,7 @@ +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ + "use strict"; module.exports = { diff --git a/toolkit/components/narrate/.eslintrc.js b/toolkit/components/narrate/.eslintrc.js index 316aed2b3e9d6..1c8d425c6c500 100644 --- a/toolkit/components/narrate/.eslintrc.js +++ b/toolkit/components/narrate/.eslintrc.js @@ -1,3 +1,7 @@ +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ + "use strict"; module.exports = { diff --git a/toolkit/components/passwordmgr/.eslintrc.js b/toolkit/components/passwordmgr/.eslintrc.js index 64f64d93739e7..fb895536880a6 100644 --- a/toolkit/components/passwordmgr/.eslintrc.js +++ b/toolkit/components/passwordmgr/.eslintrc.js @@ -1,3 +1,7 @@ +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ + "use strict"; module.exports = { diff --git a/toolkit/components/reader/.eslintrc.js b/toolkit/components/reader/.eslintrc.js index d0438c9aa4a73..4df95dd5f8b0c 100644 --- a/toolkit/components/reader/.eslintrc.js +++ b/toolkit/components/reader/.eslintrc.js @@ -1,3 +1,7 @@ +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ + "use strict"; module.exports = { diff --git a/toolkit/components/satchel/.eslintrc.js b/toolkit/components/satchel/.eslintrc.js index aa643a1d2f8e7..9c9c7befff235 100644 --- a/toolkit/components/satchel/.eslintrc.js +++ b/toolkit/components/satchel/.eslintrc.js @@ -1,3 +1,7 @@ +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ + "use strict"; module.exports = { diff --git a/toolkit/components/search/.eslintrc.js b/toolkit/components/search/.eslintrc.js index 565b577262a4f..1c83c5d5cad2a 100644 --- a/toolkit/components/search/.eslintrc.js +++ b/toolkit/components/search/.eslintrc.js @@ -1,3 +1,7 @@ +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ + "use strict"; module.exports = { diff --git a/toolkit/content/.eslintrc.js b/toolkit/content/.eslintrc.js index 371eab457e685..ea5a72ce6723f 100644 --- a/toolkit/content/.eslintrc.js +++ b/toolkit/content/.eslintrc.js @@ -1,3 +1,7 @@ +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ + "use strict"; module.exports = { diff --git a/toolkit/modules/subprocess/.eslintrc.js b/toolkit/modules/subprocess/.eslintrc.js index 1d232946d5387..3e775d8eb47e7 100644 --- a/toolkit/modules/subprocess/.eslintrc.js +++ b/toolkit/modules/subprocess/.eslintrc.js @@ -1,3 +1,7 @@ +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ + "use strict"; module.exports = { diff --git a/toolkit/mozapps/extensions/.eslintrc.js b/toolkit/mozapps/extensions/.eslintrc.js index a73b554ee10c4..2e1909b8fbfbb 100644 --- a/toolkit/mozapps/extensions/.eslintrc.js +++ b/toolkit/mozapps/extensions/.eslintrc.js @@ -1,3 +1,7 @@ +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ + "use strict"; module.exports = { diff --git a/toolkit/profile/xpcshell/.eslintrc.js b/toolkit/profile/xpcshell/.eslintrc.js index 69e89d0054ba4..a02973d187045 100644 --- a/toolkit/profile/xpcshell/.eslintrc.js +++ b/toolkit/profile/xpcshell/.eslintrc.js @@ -1,3 +1,7 @@ +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ + "use strict"; module.exports = { diff --git a/tools/lint/eslint/.eslintrc.js b/tools/lint/eslint/.eslintrc.js index 25fe96b1b68ba..279d0d5a636ab 100644 --- a/tools/lint/eslint/.eslintrc.js +++ b/tools/lint/eslint/.eslintrc.js @@ -1,3 +1,7 @@ +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ + "use strict"; module.exports = { diff --git a/tools/quitter/.eslintrc.js b/tools/quitter/.eslintrc.js index 776dac1ef8e8f..ca920089606d0 100644 --- a/tools/quitter/.eslintrc.js +++ b/tools/quitter/.eslintrc.js @@ -1,3 +1,7 @@ +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ + "use strict"; module.exports = { diff --git a/tools/tryselect/selectors/chooser/.eslintrc.js b/tools/tryselect/selectors/chooser/.eslintrc.js index d6a57dd4178ae..861d6bafc2918 100644 --- a/tools/tryselect/selectors/chooser/.eslintrc.js +++ b/tools/tryselect/selectors/chooser/.eslintrc.js @@ -1,3 +1,7 @@ +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ + "use strict"; module.exports = { -- GitLab