ESLint Plugin Playwright
ESLint plugin for your Playwright
testing needs.
Installation
Yarn
yarn add -D eslint-plugin-playwright
NPM
npm install -D eslint-plugin-playwright
Usage
This plugin bundles two configurations to work with both @playwright/test
or
jest-playwright
.
{
"extends": ["plugin:playwright/playwright-test"]
}
{
"extends": ["plugin:playwright/jest-playwright"]
}
List of Supported Rules
✔: Enabled in the recommended configuration.
🔧: Some problems reported by this rule are automatically fixable by the --fix
command line option.
💡: Some problems reported by this rule are manually fixable by editor
suggestions.