Skip to content

Commit

Permalink
docs: Add missing URLs to rules
Browse files Browse the repository at this point in the history
  • Loading branch information
mskelton committed Feb 28, 2024
1 parent 8a06748 commit 26998b5
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/rules/missing-playwright-await.ts
Original file line number Diff line number Diff line change
Expand Up @@ -160,6 +160,7 @@ export default {
category: 'Possible Errors',
description: `Identify false positives when async Playwright APIs are not properly awaited.`,
recommended: true,
url: 'https://github.com/playwright-community/eslint-plugin-playwright/tree/main/docs/rules/missing-playwright-await.md',
},
fixable: 'code',
messages: {
Expand Down
1 change: 1 addition & 0 deletions src/rules/no-networkidle.ts
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ export default {
category: 'Possible Errors',
description: 'Prevent usage of the networkidle option',
recommended: true,
url: 'https://github.com/playwright-community/eslint-plugin-playwright/tree/main/docs/rules/no-networkidle.md',
},
messages: {
noNetworkidle: 'Unexpected use of networkidle.',
Expand Down
1 change: 1 addition & 0 deletions src/rules/no-page-pause.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ export default {
category: 'Possible Errors',
description: 'Prevent usage of page.pause()',
recommended: true,
url: 'https://github.com/playwright-community/eslint-plugin-playwright/tree/main/docs/rules/no-page-pause.md',
},
messages: {
noPagePause: 'Unexpected use of page.pause().',
Expand Down
1 change: 1 addition & 0 deletions src/rules/no-useless-await.ts
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@ export default {
category: 'Possible Errors',
description: 'Disallow unnecessary awaits for Playwright methods',
recommended: true,
url: 'https://github.com/playwright-community/eslint-plugin-playwright/tree/main/docs/rules/no-useless-await.md',
},
fixable: 'code',
messages: {
Expand Down
1 change: 1 addition & 0 deletions src/rules/prefer-comparison-matcher.ts
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,7 @@ export default {
category: 'Best Practices',
description: 'Suggest using the built-in comparison matchers',
recommended: false,
url: 'https://github.com/playwright-community/eslint-plugin-playwright/tree/main/docs/rules/prefer-comparision-matcher.md',
},
fixable: 'code',
messages: {
Expand Down

0 comments on commit 26998b5

Please sign in to comment.