Rules
Every rule from ESLint, Oxlint and Biome. Pick a rule to see its example. Reach is the weekly npm downloads of the presets that enable a rule; trend is its change over the last quarter.
Every rule from ESLint, Oxlint and Biome. Pick a rule to see its example. Reach is the weekly npm downloads of the presets that enable a rule; trend is its change over the last quarter.
test('example', async ({ page }) => {
expect(page.getByRole('button')).toBeVisible();
});test('example', async ({ page }) => {
await expect(page.getByRole('button')).toBeVisible();
});Popular · 1 of 8
Enforce Playwright async APIs to be awaited or returned.
test('example', async ({ page }) => {
expect(page.getByRole('button')).toBeVisible();
});test('example', async ({ page }) => {
await expect(page.getByRole('button')).toBeVisible();
});