-
-
Notifications
You must be signed in to change notification settings - Fork 32
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
ESLint error message encountered on MetaProperty #136
Comments
Be advised this isn't a good UX - things that navigate should only be links and should look like links. Also, the default type of That said, "MetaProperty" refers to |
Oh. I was actually importing the |
Here it is https://codesandbox.io/p/sandbox/meta-property-repro-ml864q?file=%2Ftsconfig.json%3A19%2C38 I've also noticed that the error does not show up in the sandbox when I only had the basic Vite and ESLint setup. It only reappeared after I added airbnb and prettier as additional dev dependencies. |
Hi @ljharb . Would just like to know if this has already been resolved. Should I close the issue? |
It hasn't been, and no, the issue should stay open until it is. |
I'm currently reviewing React Typescript with Vite. My React version is 18.2.0 and ESLint version 8.2.0.
I've been checking on ways to open a link on a new tab with a button. and found the following to be a valid way of nesting elements to do so:
The output was working as expected, but running the linter in my terminal returns the following message:
The error message no longer shows up when I modified my approach to simply trigger
window.open
upon clicking the button and removing the wrapping anchor and div tags.The text was updated successfully, but these errors were encountered: