build: fix EsLint rule and add fixer (#11826)

This commit is contained in:
Nikolay Vitkov
2024-02-05 10:26:37 +01:00
committed by GitHub
parent 197f00547e
commit b2c69fe5bd
38 changed files with 230 additions and 34 deletions

View File

@@ -1,3 +1,8 @@
/**
* @license
* Copyright 2024 Google Inc.
* SPDX-License-Identifier: Apache-2.0
*/
module.exports = {
rules: {
'no-restricted-imports': [

View File

@@ -1,3 +1,8 @@
/**
* @license
* Copyright 2024 Google Inc.
* SPDX-License-Identifier: Apache-2.0
*/
(async () => {
const [, , puppeteerRoot, options] = process.argv;
const browser = await require(puppeteerRoot).launch(JSON.parse(options));

View File

@@ -1,3 +1,8 @@
/**
* @license
* Copyright 2024 Google Inc.
* SPDX-License-Identifier: Apache-2.0
*/
(async () => {
const [, , puppeteerRoot, options] = process.argv;
const browser = await require(puppeteerRoot).launch(JSON.parse(options));