You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Began seeing The prop value with an expression type of ChainExpression could not be resolved. Please file issue to get this fixed immediately. in eslint output after upgrading.
ECMAscript Optional Chaining shipped, resulting in various changes to parsers and javascript/typescript tools to support it. Initially there were different, non-standard names for the AST nodes to represent it. Over this year, consensus has settled out, including in the parser that eslint uses, estree (see estree/estree#204 ).
I opened an issue upstream on jsx-ast-utils: jsx-eslint/jsx-ast-utils#103 , which was fixed in [email protected]
Symptom:
Began seeing
The prop value with an expression type of ChainExpression could not be resolved. Please file issue to get this fixed immediately.
in eslint output after upgrading.ECMAscript Optional Chaining shipped, resulting in various changes to parsers and javascript/typescript tools to support it. Initially there were different, non-standard names for the AST nodes to represent it. Over this year, consensus has settled out, including in the parser that eslint uses, estree (see estree/estree#204 ).
Versions:
[email protected]
[email protected] (via [email protected], [email protected])
Minimal test case
Component.jsx
.eslintrc
run
The text was updated successfully, but these errors were encountered: