Lint errors on new Tanstack Start project
Running lint on new Tanstack project (v 1.133.13) gives me these errors:
After some trial and error, I managed to resolve the errors by adding the config files to the ignores section of the
eslint.config.js file:
I'm wondering if this is the right approach or if there's a better approach. Thanks!4 Replies
apparent-cyan•2mo ago
how is this related to start? how did you create the project?
harsh-harlequinOP•4w ago
I created it with
npm create @tanstack/start@latest
every project I've created with Tanstack Start with ESLint, including one today has these lint errorsapparent-cyan•4w ago
can you create an issue here please: https://github.com/TanStack/create-tsrouter-app
GitHub
GitHub - TanStack/create-tsrouter-app: Create-tsrouter-app is drop-...
Create-tsrouter-app is drop-in replacement for create-react-app that builds TanStack Router based SPA applications - TanStack/create-tsrouter-app
harsh-harlequinOP•4w ago
Looks like there are 2 issues for it already: https://github.com/TanStack/create-tsrouter-app/issues/80 & https://github.com/TanStack/create-tsrouter-app/issues/123
the suggested fix is to add
allowJs: true to the tsconfig.jsonGitHub
Linter errors - "parserOptions.project" has been provided for @type...
Which project does this relate to? Create Tanstack App Describe the bug Hi, I get lint errors on a generated app without any modifications. Linting in the IDE (Cursor) works correctly. /Users/sglut...
GitHub
ESLint errors after installing TanStack Router following official g...
Which project does this relate to? Create Tanstack App Describe the bug After following the official installation guide for TanStack Router, running npm run lint gives multiple ESLint errors, some ...