Skip to content

Commit f11dc89

Browse files
committed
Add eslint-plugin-playwright
1 parent 9299f97 commit f11dc89

File tree

2 files changed

+3
-9
lines changed

2 files changed

+3
-9
lines changed
Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,4 @@
11
module.exports = {
2-
ecmaFeatures: {
3-
modules: true,
4-
spread: true,
5-
restParams: true,
6-
},
72
env: {
83
browser: true,
94
node: true,
@@ -12,5 +7,5 @@ module.exports = {
127
parserOptions: {
138
sourceType: 'module',
149
},
15-
extends: ['../../.eslintrc.js'],
10+
extends: ['../../.eslintrc.js', 'plugin:playwright/playwright-test'],
1611
};

packages/browser/test/e2e/package.json

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,9 @@
2424
"@playwright/test": "1.17.0-next-alpha-nov-5-2021",
2525
"@sentry/browser": "file:../..",
2626
"babel-loader": "^8.2.2",
27+
"eslint-plugin-playwright": "^0.6.0",
2728
"express": "^4.17.1",
29+
"handlebars-loader": "^1.7.1",
2830
"html-webpack-plugin": "^5.5.0",
2931
"ts-loader": "^9.2.6",
3032
"ts-node": "^10.4.0",
@@ -39,8 +41,5 @@
3941
"@sentry/tracing": "file:../../../tracing",
4042
"@sentry/types": "file:../../../types",
4143
"@sentry/utils": "file:../../../utils"
42-
},
43-
"devDependencies": {
44-
"handlebars-loader": "^1.7.1"
4544
}
4645
}

0 commit comments

Comments
 (0)