test
This commit is contained in:
parent
47b3576640
commit
110c3c8d29
16
.eslintrc.js
Normal file
16
.eslintrc.js
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
const path = require('path');
|
||||||
|
|
||||||
|
module.exports = {
|
||||||
|
extends: '../.eslintrc.js',
|
||||||
|
parser: '@typescript-eslint/parser',
|
||||||
|
plugins: ['@typescript-eslint', 'notice'],
|
||||||
|
parserOptions: {
|
||||||
|
ecmaVersion: 9,
|
||||||
|
sourceType: 'module',
|
||||||
|
project: path.join(__dirname, 'tsconfig.json'),
|
||||||
|
},
|
||||||
|
rules: {
|
||||||
|
'@typescript-eslint/no-floating-promises': 'error',
|
||||||
|
'@typescript-eslint/no-unnecessary-boolean-literal-compare': 2,
|
||||||
|
},
|
||||||
|
};
|
||||||
976
package-lock.json
generated
976
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@ -10,5 +10,9 @@
|
|||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@playwright/test": "^1.48.1",
|
"@playwright/test": "^1.48.1",
|
||||||
"@types/node": "^22.7.7"
|
"@types/node": "^22.7.7"
|
||||||
|
},
|
||||||
|
"dependencies": {
|
||||||
|
"eslint": "^9.13.0",
|
||||||
|
"typescript": "^5.6.3"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
23
tsconfig.json
Normal file
23
tsconfig.json
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
{
|
||||||
|
"compilerOptions": {
|
||||||
|
"allowJs": true,
|
||||||
|
"checkJs": false,
|
||||||
|
"noEmit": true,
|
||||||
|
"moduleResolution": "node",
|
||||||
|
"target": "ESNext",
|
||||||
|
"strictNullChecks": false,
|
||||||
|
"strictBindCallApply": true,
|
||||||
|
"allowSyntheticDefaultImports": true,
|
||||||
|
"useUnknownInCatchVariables": false,
|
||||||
|
"baseUrl": "..",
|
||||||
|
"paths": {
|
||||||
|
"@isomorphic/*": ["packages/playwright-core/src/utils/isomorphic/*"],
|
||||||
|
"@protocol/*": ["packages/protocol/src/*"],
|
||||||
|
"@recorder/*": ["packages/recorder/src/*"],
|
||||||
|
"@trace/*": ["packages/trace/src/*"],
|
||||||
|
"@web/*": ["packages/web/src/*"]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"include": ["**/*.spec.js", "**/*.ts"],
|
||||||
|
"exclude": ["components/", "installation/fixture-scripts/"]
|
||||||
|
}
|
||||||
Loading…
Reference in New Issue
Block a user