Skip to content

Commit cea5dad

Browse files
authored
chore: remove eslint-plugin-internal-playwright (#34510)
1 parent ab01dcc commit cea5dad

File tree

7 files changed

+0
-98
lines changed

7 files changed

+0
-98
lines changed

package-lock.json

-9
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

-1
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,6 @@
8787
"electron": "^30.1.2",
8888
"esbuild": "^0.18.11",
8989
"eslint": "^8.55.0",
90-
"eslint-plugin-internal-playwright": "file:utils/eslint-plugin-internal-playwright",
9190
"eslint-plugin-notice": "^0.9.10",
9291
"eslint-plugin-react": "^7.35.0",
9392
"eslint-plugin-react-hooks": "^4.6.2",

packages/playwright-core/src/client/.eslintrc.js

-7
This file was deleted.

packages/playwright-core/src/client/eventEmitter.ts

-2
Original file line numberDiff line numberDiff line change
@@ -243,7 +243,6 @@ export class EventEmitter implements EventEmitterType {
243243
if (options.behavior === 'wait') {
244244
const errors: Error[] = [];
245245
this._rejectionHandler = error => errors.push(error);
246-
// eslint-disable-next-line internal-playwright/await-promise-in-class-returns
247246
return this._waitFor(type).then(() => {
248247
if (errors.length)
249248
throw errors[0];
@@ -253,7 +252,6 @@ export class EventEmitter implements EventEmitterType {
253252
if (options.behavior === 'ignoreErrors')
254253
this._rejectionHandler = () => {};
255254

256-
// eslint-disable-next-line internal-playwright/await-promise-in-class-returns
257255
return Promise.resolve();
258256
}
259257

utils/eslint-plugin-internal-playwright/index.js

-20
This file was deleted.

utils/eslint-plugin-internal-playwright/package.json

-5
This file was deleted.

utils/eslint-plugin-internal-playwright/rules/await-promise-in-class-returns.js

-54
This file was deleted.

0 commit comments

Comments
 (0)