Skip to content

Commit 5d0c69f

Browse files
committed
feat: add url secondary option
1 parent 09cb998 commit 5d0c69f

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

src/rules/rule-config.d.ts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,13 @@ export interface SecondaryOptions {
2626
* @see [configure message](https://stylelint.io/user-guide/configure#message)
2727
*/
2828
message?: string | ((...args: any[]) => string)
29+
30+
/**
31+
* You can use the url secondary option to provide a custom link to external docs.
32+
* These urls can then be displayed in custom formatters.
33+
* @see [configure url](https://stylelint.io/user-guide/configure#url)
34+
*/
35+
url?: string
2936
}
3037

3138
/**

0 commit comments

Comments
 (0)