Skip to content

Commit 0975336

Browse files
committed
fix: remove no-slowed-test from recommended list
1 parent 61e70cd commit 0975336

File tree

3 files changed

+2
-3
lines changed

3 files changed

+2
-3
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ CLI option\
139139
| [no-raw-locators](https://github.com/playwright-community/eslint-plugin-playwright/tree/main/docs/rules/no-raw-locators.md) | Disallow using raw locators | | | |
140140
| [no-restricted-matchers](https://github.com/playwright-community/eslint-plugin-playwright/tree/main/docs/rules/no-restricted-matchers.md) | Disallow specific matchers & modifiers | | | |
141141
| [no-skipped-test](https://github.com/playwright-community/eslint-plugin-playwright/tree/main/docs/rules/no-skipped-test.md) | Disallow usage of the `.skip` annotation || | 💡 |
142-
| [no-slowed-test](https://github.com/playwright-community/eslint-plugin-playwright/tree/main/docs/rules/no-slowed-test.md) | Disallow usage of the `.slow` annotation | | | 💡 |
142+
| [no-slowed-test](https://github.com/playwright-community/eslint-plugin-playwright/tree/main/docs/rules/no-slowed-test.md) | Disallow usage of the `.slow` annotation | | | 💡 |
143143
| [no-standalone-expect](https://github.com/playwright-community/eslint-plugin-playwright/tree/main/docs/rules/no-standalone-expect.md) | Disallow using expect outside of `test` blocks || | |
144144
| [no-unsafe-references](https://github.com/playwright-community/eslint-plugin-playwright/tree/main/docs/rules/no-unsafe-references.md) | Prevent unsafe variable references in `page.evaluate()` || 🔧 | |
145145
| [no-useless-await](https://github.com/playwright-community/eslint-plugin-playwright/tree/main/docs/rules/no-useless-await.md) | Disallow unnecessary `await`s for Playwright methods || 🔧 | |

src/index.ts

-1
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,6 @@ const sharedConfig = {
120120
'playwright/no-networkidle': 'error',
121121
'playwright/no-page-pause': 'warn',
122122
'playwright/no-skipped-test': 'warn',
123-
'playwright/no-slowed-test': 'warn',
124123
'playwright/no-standalone-expect': 'error',
125124
'playwright/no-unsafe-references': 'error',
126125
'playwright/no-useless-await': 'warn',

src/rules/no-slowed-test.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ export default createRule({
5252
docs: {
5353
category: 'Best Practices',
5454
description: 'Prevent usage of the `.slow()` slow test annotation.',
55-
recommended: true,
55+
recommended: false,
5656
url: 'https://github.com/playwright-community/eslint-plugin-playwright/tree/main/docs/rules/no-slowed-test.md',
5757
},
5858
hasSuggestions: true,

0 commit comments

Comments
 (0)