What did you do?
<a href="/file.pdf">link</a>
<a href={asset("/file.pdf")}>link</a>
Problem
Sometimes, it's references a static asset, not a path. But there's no indication the user should use asset in the rule description.
Potential solutions
rename no-navigation-without-resolve to:
require-path-validation
no-pathname-without-validation
add to the rules description to use asset
add another rule
no-pathname-without-asset
What did you do?
Problem
Sometimes, it's references a static asset, not a path. But there's no indication the user should use
assetin the rule description.Potential solutions
rename
no-navigation-without-resolveto:require-path-validationno-pathname-without-validationadd to the rules description to use
assetadd another rule
no-pathname-without-asset