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’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] hint doesn't seem to load for .jsx files. #5702

Open
hamirmahal opened this issue Sep 19, 2023 · 2 comments
Open

[Bug] hint doesn't seem to load for .jsx files. #5702

hamirmahal opened this issue Sep 19, 2023 · 2 comments
Labels

Comments

@hamirmahal
Copy link

No description provided.

@hamirmahal
Copy link
Author

🐞 Bug report

Description

hint doesn't seem to load for .jsx files

Expected outcome

hint works normally for .jsx files.

Actual result

I only get hints from hint if I change a file's extension from .jsx to .tsx.

Details

webhint version number: v2.1.11

Version: 1.82.2 (user setup)
Commit: abd2f3db4bdb28f9e95536dfa84d8479f1eb312d
Date: 2023-09-14T05:55:25.390Z
Electron: 25.8.1
ElectronBuildId: 23779380
Chromium: 114.0.5735.289
Node.js: 18.15.0
V8: 11.4.183.29-electron.0
OS: Windows_NT x64 10.0.19045

I'm using WSL2 with Windows 10.
.hintrc file contents: I don't have an .hintrc file in my workspace.
Raw output generated by webhint:

Error loading "hint" package from "/home/hamir/repositories/next-auth"
Trying to load shared version
Found hint at /home/hamir/.vscode-server/data/User/globalStorage/webhint.vscode-webhint/node_modules/hint/dist/src/lib/index.js

@hamirmahal
Copy link
Author

Here's a screen recording of the issue.

temp.jsx.-.next-auth.WSL_.Ubuntu.-.Visual.Studio.Code.2023-09-19.11-11-20.mp4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant