Skip to content

Commit 28b0722

Browse files
authored
Update jsx-no-script-url.md
1 parent 875ccdf commit 28b0722

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

docs/rules/jsx-no-script-url.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,8 @@ Examples of **correct** code for this rule:
2323
<a href={"javascript:"}></a>
2424
```
2525

26+
This rule also takes into account `linkComponents` setting.
27+
2628
## Rule Options
2729

2830
```json
@@ -45,6 +47,10 @@ Examples of **correct** code for this rule:
4547

4648
Allows you to indicate a specific list of properties used by a custom component to be checked.
4749

50+
NOTE: This rule now takes into account `linkComponents` setting and it should be used as primary source of link components.
51+
The rule still allows passing link components as rule option, but it is meant only as backwards-compatibility feature.
52+
New setups should only use `linkComponents` setting.
53+
4854
### name
4955

5056
Component name.

0 commit comments

Comments
 (0)