Skip to content
New issue

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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Project Template for "Basic App" does not recognize RouteLoader [馃悶] #6171

Closed
someramsey opened this issue Apr 28, 2024 · 1 comment
Closed
Labels
STATUS-1: needs triage New issue which needs to be triaged TYPE: bug Something isn't working

Comments

@someramsey
Copy link

someramsey commented Apr 28, 2024

Which component is affected?

Starters / CLI

Describe the bug

Using npm create qwik@latest with the Basic App Template creates a faulty project.
Even when none of the files are changed from the created template, Eslint still shows warnings about the RouteLoader when opening the project using VSCode.

'routeLoader$() are typically declared in route boundary files such as layout.tsx, index.tsx and plugin.tsx inside the src/routes...

The defined RouteLoader of the template is already inside the src/routes/layout.tsx file as the eslint rule suggests however the warning still persists.

Reproduction

https://github.com/someramsey/qwick-test-app.git

Steps to reproduce

Run npm create qwik@latest
Wait for Eslint to wake up
Open the directory on VSCode as the root workspace dir

System Info

System:
    OS: Windows 11 10.0.22631
    CPU: (8) x64 11th Gen Intel(R) Core(TM) i7-1165G7 @ 2.80GHz
    Memory: 6.62 GB / 15.77 GB
  Binaries:
    Node: 20.12.2 - C:\Program Files\nodejs\node.EXE
    npm: 10.5.0 - C:\Program Files\nodejs\npm.CMD
  Browsers:
    Edge: Chromium (123.0.2420.97)
    Chrome: 124.0.6367.91

Additional Information

image

The issue is possibly a local problem caused by this version of the Eslint Extension for VsCode

@someramsey someramsey added STATUS-1: needs triage New issue which needs to be triaged TYPE: bug Something isn't working labels Apr 28, 2024
@PatrickJS
Copy link
Member

this might be an issue with eslint version. I can not reproduce this. I'm going to close it. I can hop on discord video call to go over it just ping me here or on discord

@PatrickJS PatrickJS closed this as not planned Won't fix, can't repro, duplicate, stale May 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
STATUS-1: needs triage New issue which needs to be triaged TYPE: bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants