Comments (6)
Are you perhaps using native ESM with a top-level await? If so, could you provide some of the code doing so?
from jsx-ast-utils.
Hi, thanks for your response, please find the code here: https://github.com/wasim-ullah/blog
from jsx-ast-utils.
@wasim-ullah i see the code, but no way to reproduce the problem. npx eslint --ext=js,jsx,mjs,ts,tsx .
, for example, works fine.
from jsx-ast-utils.
I've just encountered this same issue using Astro when a tag has an async import statement in its src prop.
<img src={(await import('../assets/img/logo.svg')).default} alt="Your Logo" width="47" height="37" />
The exact code is from here: https://github.com/markteekman/accessible-astro-starter/blob/b0c006e4f37175f99788ea4f6b966785680eb9ea/src/components/Navigation.astro#L9
from jsx-ast-utils.
@david-abell i'm not familiar with that format, but i would not expect anything to be able to lint it, since it's entirely nonstandard, unless it had a custom eslint parser. https://github.com/markteekman/accessible-astro-starter/blob/b0c006e4f37175f99788ea4f6b966785680eb9ea/.eslintrc.js#L24 seems inaccurate, since that code is definitely not normal TypeScript.
from jsx-ast-utils.
I'm going to have to close this since I can't reproduce it, and .astro
is a nonstandard format that would need a custom eslint parser at a minimum to handle.
I'll be more than happy to reopen it if there's a way to reproduce it.
from jsx-ast-utils.
Related Issues (20)
- The prop value with an expression type of JSXFragment could not be resolved HOT 12
- The prop value with an expression type of `MetaProperty` could not be resolved HOT 20
- Invitation to move to official `eslint-community` org HOT 10
- The prop value with an expression type of PrivateIdentifier could not be resolved HOT 4
- The prop value with an expression type of ChainExpression could not be resolved. Please file issue to get this fixed immediately. HOT 1
- The prop value with an expression type of TSNonNullExpression could not be resolved HOT 12
- The prop value with an expression type of JSXEmptyExpression could not be resolved. HOT 7
- The prop value with an expression type of TSNonNullExpression could not be resolved.
- TSNonNullExpression could not be resolved HOT 5
- The prop value with an expression type of JSXEmptyExpression could not be resolved HOT 5
- The prop value with an expression type of TSSatisfiesExpression could not be resolved. HOT 5
- Nested fragment within prop value errors out
- The prop value with an expression type of MetaProperty could not be resolved. Please file an issue ( https://github.com/jsx-eslint/jsx-ast-utils/issues/new ) to get this fixed immediately. HOT 2
- MetaProperty HOT 1
- The prop value with an expression type of MetaProperty could not be resolved HOT 2
- ESLint error message encountered on MetaProperty HOT 7
- JSXEmptyExpression could not be resolved HOT 2
- Error with AstroShorthandAttribute HOT 4
- jsx-ast-utils shouldn't bundle redundant files for end users HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from jsx-ast-utils.