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
This commit is contained in:
Mark Banner 2024-05-24 14:55:33 +00:00
parent ddda7b8c9c
commit 2fa640602b

View file

@ -3,7 +3,7 @@
* file, You can obtain one at <http://mozilla.org/MPL/2.0/>. */
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 <http://mozilla.org/MPL/2.0/>.",
],
"block",
["-\\*-(.*)-\\*-", "eslint(.*)", "vim(.*)"],
],
},
settings: {
jest: {