-
Notifications
You must be signed in to change notification settings - Fork 3.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: generate simple dom descriptions in codegen (#32333)
- Loading branch information
1 parent
3f085d5
commit bc87467
Showing
13 changed files
with
217 additions
and
108 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,21 @@ | ||
const path = require('path'); | ||
|
||
module.exports = { | ||
rules: { | ||
"no-restricted-globals": [ | ||
"error", | ||
{ "name": "window" }, | ||
{ "name": "document" }, | ||
{ "name": "globalThis" }, | ||
] | ||
} | ||
parser: "@typescript-eslint/parser", | ||
plugins: ["@typescript-eslint", "notice"], | ||
parserOptions: { | ||
ecmaVersion: 9, | ||
sourceType: "module", | ||
project: path.join(__dirname, '../../../../../tsconfig.json'), | ||
}, | ||
rules: { | ||
"no-restricted-globals": [ | ||
"error", | ||
{ "name": "window" }, | ||
{ "name": "document" }, | ||
{ "name": "globalThis" }, | ||
], | ||
'@typescript-eslint/no-floating-promises': 'error', | ||
"@typescript-eslint/no-unnecessary-boolean-literal-compare": 2, | ||
}, | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
packages/playwright-core/src/server/injected/recorder/DEPS.list
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
# Recorder must use any external dependencies through InjectedScript. | ||
# Recorder must use any external dependencies through injectedScript.utils. | ||
# Otherwise it will end up with a copy of all modules it uses, and any | ||
# module-level globals will be duplicated, which leads to subtle bugs. | ||
[*] |
Oops, something went wrong.