{"repo":"mskelton/eslint-plugin-playwright","free":true,"listed":false,"github":"https://github.com/mskelton/eslint-plugin-playwright","clone":"git clone https://github.com/mskelton/eslint-plugin-playwright.git","description":"ESLint plugin for Playwright","language":"TypeScript","stars":391,"topics":["jest","playwright","eslint","eslint-plugin","jest-playwright","playwright-test-runner"],"license":"MIT","category":"scrapers-browser-automation","readme_excerpt":"ESLint Plugin Playwright ESLint plugin for Playwright. Installation npm Yarn pnpm Usage The recommended setup is to use the files field to target only Playwright test files. In the examples below, this is done by targeting files in the tests directory and only applying the Playwright rules to those files. In your project, you may need to change the files field to match your Playwright test file patterns. Flat config ( eslint.config.js ) Legacy config ( .eslintrc ) Settings Aliased Playwright Globals If you import Playwright globals (e.g. test , expect ) with a custom name, you can configure this plugin to be aware of these additional names. Custom Messages You can customize the error messages for rules using the settings.playwright.messages property. This is useful if you would like to increase the verbosity of error messages or provide additional context. Only the message ids you define in this setting will be overridden, so any other messages will use the default message defined by the plugin. Rules ✅ Set in the recommended configuration\\ 🔧 Automatically fixable by the --fix CLI option\\ 💡 Manually fixable by editor suggestions Rule Description ✅ 🔧 💡 --------------------------------------------------------------------------------------------------------------------------------------------------- ------------------------------------------------------------------ :-: :-: :-: consistent-spacing-between-blocks Enforce consistent spacing between test blocks ✅ 🔧 expect-expect","default_branch":null,"files":null,"tree":[],"storefront":"/r/mskelton","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/mskelton/eslint-plugin-playwright/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}