Replies: 1 comment
-
You can ignore the routeTree.gen.ts file being linted entirely in your ESLint config. {
"ignorePatterns": ["routeTree.gen.ts"],
} Since this file is being generated by the router-cli, you can consider it to be "safe" and relies on not being interfered with for the types to work. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Would be nice to be able to easily prepend the content of the router file, eg.
Use case for me is to prepend
/* eslint-disable @typescript-eslint/no-explicit-any */
to pass eslint validation.Beta Was this translation helpful? Give feedback.
All reactions