diff --git a/config/eslintrc.template.js b/config/eslintrc.template.js index 23cc343..0893e54 100755 --- a/config/eslintrc.template.js +++ b/config/eslintrc.template.js @@ -145,5 +145,9 @@ module.exports = ({ tsconfigRootDir, optimizeImports }) => ({ extends: ['plugin:jest/recommended'], plugins: ['jest'], }, + { + files: 'playwright/**/*.{test|spec}.ts', + extends: 'plugin:playwright/recommended', + }, ], }); diff --git a/package.json b/package.json index ad8aa1d..4d73c92 100644 --- a/package.json +++ b/package.json @@ -63,6 +63,7 @@ "eslint-plugin-react-compiler": "0.0.0-experimental-b8a7b48-20240830", "eslint-plugin-react-hooks": "^4.6.2", "eslint-plugin-unused-imports": "^4.1.4", + "eslint-plugin-playwright": "^2.0.1", "fork-ts-checker-webpack-plugin": "^9.0.2", "fs-extra": "^11.2.0", "glob": "^11.0.0",