eslint-plugin-remix-react-routes
eslint-plugin-remix-react-routes copied to clipboard
Support autofix where possible
Not everything is auto-fixable, but it would be nice to support it for at least the following rules:
- use-link-for-routes - switch to remix equivalents
<a>-><Link><form>-><Form reloadDocument>
- no-relative-paths - make the paths absolute
- no-urls - switch to native elements, normalizing/removing attributes as necessary
<Link>/<NavLink>-><a><Form>(and<fetcher.Form>) -><form>