eslint-plugin-playwright
Advanced tools
Comparing version 1.6.2 to 1.7.0
@@ -44,3 +44,5 @@ import * as eslint from 'eslint'; | ||
'prefer-hooks-on-top': eslint.Rule.RuleModule; | ||
'prefer-locator': eslint.Rule.RuleModule; | ||
'prefer-lowercase-title': eslint.Rule.RuleModule; | ||
'prefer-native-locators': eslint.Rule.RuleModule; | ||
'prefer-strict-equal': eslint.Rule.RuleModule; | ||
@@ -110,3 +112,5 @@ 'prefer-to-be': eslint.Rule.RuleModule; | ||
'prefer-hooks-on-top': eslint.Rule.RuleModule; | ||
'prefer-locator': eslint.Rule.RuleModule; | ||
'prefer-lowercase-title': eslint.Rule.RuleModule; | ||
'prefer-native-locators': eslint.Rule.RuleModule; | ||
'prefer-strict-equal': eslint.Rule.RuleModule; | ||
@@ -278,3 +282,5 @@ 'prefer-to-be': eslint.Rule.RuleModule; | ||
'prefer-hooks-on-top': eslint.Rule.RuleModule; | ||
'prefer-locator': eslint.Rule.RuleModule; | ||
'prefer-lowercase-title': eslint.Rule.RuleModule; | ||
'prefer-native-locators': eslint.Rule.RuleModule; | ||
'prefer-strict-equal': eslint.Rule.RuleModule; | ||
@@ -297,2 +303,2 @@ 'prefer-to-be': eslint.Rule.RuleModule; | ||
export { _default as default }; | ||
export = _default; |
{ | ||
"name": "eslint-plugin-playwright", | ||
"description": "ESLint plugin for Playwright testing.", | ||
"version": "1.6.2", | ||
"version": "1.7.0", | ||
"repository": "https://github.com/playwright-community/eslint-plugin-playwright", | ||
@@ -33,3 +33,3 @@ "author": "Mark Skelton <mark@mskelton.dev>", | ||
"scripts": { | ||
"build": "tsup src/index.ts --format cjs,esm --dts --out-dir dist", | ||
"build": "tsup src/index.ts --format cjs,esm --dts --out-dir dist --cjsInterop", | ||
"lint": "eslint .", | ||
@@ -36,0 +36,0 @@ "fmt": "prettier --write .", |
@@ -197,2 +197,4 @@ # ESLint Plugin Playwright | ||
| [prefer-lowercase-title](https://github.com/playwright-community/eslint-plugin-playwright/tree/main/docs/rules/prefer-lowercase-title.md) | Enforce lowercase test names | | 🔧 | | | ||
| [prefer-native-locators](https://github.com/playwright-community/eslint-plugin-playwright/tree/main/docs/rules/prefer-native-locators.md) | Suggest built-in locators over `page.locator()` | | 🔧 | | | ||
| [prefer-locator](https://github.com/playwright-community/eslint-plugin-playwright/tree/main/docs/rules/prefer-locator.md) | Suggest locators over page methods | | | | | ||
| [prefer-strict-equal](https://github.com/playwright-community/eslint-plugin-playwright/tree/main/docs/rules/prefer-strict-equal.md) | Suggest using `toStrictEqual()` | | | 💡 | | ||
@@ -199,0 +201,0 @@ | [prefer-to-be](https://github.com/playwright-community/eslint-plugin-playwright/tree/main/docs/rules/prefer-to-be.md) | Suggest using `toBe()` | | 🔧 | | |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
331382
8836
213