We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
npx create-remix@latest --template remix-run/indie-stack
npm run lint
System: OS: macOS 15.3.1 CPU: (10) arm64 Apple M4 Memory: 132.06 MB / 16.00 GB Shell: 5.9 - /bin/zsh Binaries: Node: 23.7.0 - ~/.asdf/installs/nodejs/23.7.0/bin/node npm: 10.9.2 - ~/.asdf/installs/nodejs/23.7.0/bin/npm Browsers: Chrome: 133.0.6943.127 Safari: 18.3 npmPackages: @remix-run/css-bundle: ^2.15.3 => 2.15.3 @remix-run/dev: ^2.15.3 => 2.15.3 @remix-run/node: ^2.15.3 => 2.15.3 @remix-run/react: ^2.15.3 => 2.15.3 @remix-run/serve: ^2.15.3 => 2.15.3 vite: ^5.4.11 => 5.4.14
npm
A new, clean project does not include any lint failures.
There are three lint failures:
sbachstein@Sheldons-MacBook-Pro eslint-bug-repro % npm run lint > lint > eslint --cache --cache-location ./node_modules/.cache/eslint . /Users/sbachstein/Playspace/eslint-bug-repro/cypress/support/create-user.ts 10:28 error Unable to resolve path to module '~/models/user.server' import/no-unresolved 11:35 error Unable to resolve path to module '~/session.server' import/no-unresolved /Users/sbachstein/Playspace/eslint-bug-repro/cypress/support/delete-user.ts 9:24 error Unable to resolve path to module '~/db.server' import/no-unresolved ✖ 3 problems (3 errors, 0 warnings)
They seem to stem from .eslintrc.cjs not picking up the configuration in the paths section of tsconfig.json.
.eslintrc.cjs
paths
tsconfig.json
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Reproduction
npm run lint
System Info
Used Package Manager
npm
Expected Behavior
A new, clean project does not include any lint failures.
Actual Behavior
There are three lint failures:
They seem to stem from
.eslintrc.cjs
not picking up the configuration in thepaths
section oftsconfig.json
.The text was updated successfully, but these errors were encountered: