summaryrefslogtreecommitdiffstats
path: root/eslint.config.mjs
diff options
context:
space:
mode:
authorGusted <postmaster@gusted.xyz>2024-10-23 16:22:25 +0200
committerGusted <postmaster@gusted.xyz>2024-10-23 16:22:25 +0200
commit94e4f8648b3b3e9b57ec1a1deae6e64f21df857e (patch)
treef6c6a2f95a1af5cae86fff04b023150ccbc311c1 /eslint.config.mjs
parentUpdate dependency eslint-plugin-playwright to v2 (diff)
downloadforgejo-94e4f8648b3b3e9b57ec1a1deae6e64f21df857e.tar.xz
forgejo-94e4f8648b3b3e9b57ec1a1deae6e64f21df857e.zip
chore: add extra playwright rules
Diffstat (limited to 'eslint.config.mjs')
-rw-r--r--eslint.config.mjs2
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],