diff options
author | Gusted <postmaster@gusted.xyz> | 2024-10-23 16:22:25 +0200 |
---|---|---|
committer | Gusted <postmaster@gusted.xyz> | 2024-10-23 16:22:25 +0200 |
commit | 94e4f8648b3b3e9b57ec1a1deae6e64f21df857e (patch) | |
tree | f6c6a2f95a1af5cae86fff04b023150ccbc311c1 /eslint.config.mjs | |
parent | Update dependency eslint-plugin-playwright to v2 (diff) | |
download | forgejo-94e4f8648b3b3e9b57ec1a1deae6e64f21df857e.tar.xz forgejo-94e4f8648b3b3e9b57ec1a1deae6e64f21df857e.zip |
chore: add extra playwright rules
Diffstat (limited to 'eslint.config.mjs')
-rw-r--r-- | eslint.config.mjs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/eslint.config.mjs b/eslint.config.mjs index 389f7c3cd1..ee2aa5da27 100644 --- a/eslint.config.mjs +++ b/eslint.config.mjs @@ -1125,9 +1125,11 @@ export default [{ allowConditional: true, }, ], + 'playwright/no-useless-await': [2], 'playwright/prefer-comparison-matcher': [2], 'playwright/prefer-equality-matcher': [2], + 'playwright/prefer-native-locators': [2], 'playwright/prefer-to-contain': [2], 'playwright/prefer-to-have-length': [2], 'playwright/require-to-throw-message': [2], |