Skip to content

Commit 26998b5

Browse files
committed
docs: Add missing URLs to rules
1 parent 8a06748 commit 26998b5

File tree

5 files changed

+5
-0
lines changed

5 files changed

+5
-0
lines changed

src/rules/missing-playwright-await.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -160,6 +160,7 @@ export default {
160160
category: 'Possible Errors',
161161
description: `Identify false positives when async Playwright APIs are not properly awaited.`,
162162
recommended: true,
163+
url: 'https://github.com/playwright-community/eslint-plugin-playwright/tree/main/docs/rules/missing-playwright-await.md',
163164
},
164165
fixable: 'code',
165166
messages: {

src/rules/no-networkidle.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@ export default {
5454
category: 'Possible Errors',
5555
description: 'Prevent usage of the networkidle option',
5656
recommended: true,
57+
url: 'https://github.com/playwright-community/eslint-plugin-playwright/tree/main/docs/rules/no-networkidle.md',
5758
},
5859
messages: {
5960
noNetworkidle: 'Unexpected use of networkidle.',

src/rules/no-page-pause.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ export default {
1616
category: 'Possible Errors',
1717
description: 'Prevent usage of page.pause()',
1818
recommended: true,
19+
url: 'https://github.com/playwright-community/eslint-plugin-playwright/tree/main/docs/rules/no-page-pause.md',
1920
},
2021
messages: {
2122
noPagePause: 'Unexpected use of page.pause().',

src/rules/no-useless-await.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,7 @@ export default {
8484
category: 'Possible Errors',
8585
description: 'Disallow unnecessary awaits for Playwright methods',
8686
recommended: true,
87+
url: 'https://github.com/playwright-community/eslint-plugin-playwright/tree/main/docs/rules/no-useless-await.md',
8788
},
8889
fixable: 'code',
8990
messages: {

src/rules/prefer-comparison-matcher.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -116,6 +116,7 @@ export default {
116116
category: 'Best Practices',
117117
description: 'Suggest using the built-in comparison matchers',
118118
recommended: false,
119+
url: 'https://github.com/playwright-community/eslint-plugin-playwright/tree/main/docs/rules/prefer-comparision-matcher.md',
119120
},
120121
fixable: 'code',
121122
messages: {

0 commit comments

Comments
 (0)