mirror of
https://github.com/puppeteer/puppeteer
synced 2024-06-14 14:02:48 +00:00
build: fix EsLint rule and add fixer (#11826)
This commit is contained in:
@@ -1,3 +1,8 @@
|
||||
/**
|
||||
* @license
|
||||
* Copyright 2024 Google Inc.
|
||||
* SPDX-License-Identifier: Apache-2.0
|
||||
*/
|
||||
module.exports = {
|
||||
rules: {
|
||||
'no-restricted-imports': [
|
||||
|
||||
5
test/fixtures/closeme.js
vendored
5
test/fixtures/closeme.js
vendored
@@ -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));
|
||||
|
||||
5
test/fixtures/dumpio.js
vendored
5
test/fixtures/dumpio.js
vendored
@@ -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));
|
||||
|
||||
Reference in New Issue
Block a user