From 2fa640602b08dd53cdf26ae219972d4d358f8d23 Mon Sep 17 00:00:00 2001 From: Mark Banner Date: Fri, 24 May 2024 14:55:33 +0000 Subject: [PATCH] Bug 1898556 - Remove use of eslint-plugin-file-header from devtools. r=devtools-reviewers,frontend-codestyle-reviewers,nchevobbe,Gijs Differential Revision: https://phabricator.services.mozilla.com/D211412 --- devtools/client/debugger/src/.eslintrc.js | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) diff --git a/devtools/client/debugger/src/.eslintrc.js b/devtools/client/debugger/src/.eslintrc.js index 67f317ea28fe..27afb10b351a 100644 --- a/devtools/client/debugger/src/.eslintrc.js +++ b/devtools/client/debugger/src/.eslintrc.js @@ -3,7 +3,7 @@ * file, You can obtain one at . */ module.exports = { - plugins: ["react", "mozilla", "import", "file-header"], + plugins: ["react", "mozilla", "import"], globals: { atob: true, btoa: true, @@ -332,17 +332,6 @@ module.exports = { // require assignment operator shorthand where possible or prohibit it // entirely "operator-assignment": 0, - - "file-header/file-header": [ - "error", - [ - "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 .", - ], - "block", - ["-\\*-(.*)-\\*-", "eslint(.*)", "vim(.*)"], - ], }, settings: { jest: {