File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -12,14 +12,14 @@ This rule reports any `Link` from `@primer/react` that does not include an `href
1212/* eslint primer-react/enforce-button-for-link-with-no-href: "error" */
1313import {Link } from ' @primer/react'
1414
15- < Link onClick= {handleClick}> Save changes< / Link>
15+ ; < Link onClick= {handleClick}> Save changes< / Link>
1616```
1717
1818``` jsx
1919/* eslint primer-react/enforce-button-for-link-with-no-href: "error" */
2020import {Link } from ' @primer/react'
2121
22- < Link className= " text-right" > Learn more< / Link>
22+ ; < Link className= " text-right" > Learn more< / Link>
2323```
2424
2525👍 Examples of ** correct** code for this rule:
@@ -28,7 +28,7 @@ import {Link} from '@primer/react'
2828/* eslint primer-react/enforce-button-for-link-with-no-href: "error" */
2929import {Link } from ' @primer/react'
3030
31- < Link href= " https://primer.style/react" > Read the docs< / Link>
31+ ; < Link href= " https://primer.style/react" > Read the docs< / Link>
3232```
3333
3434``` jsx
You can’t perform that action at this time.
0 commit comments