jsx-ast-utils icon indicating copy to clipboard operation
jsx-ast-utils copied to clipboard

JSXEmptyExpression could not be resolved

Open bilelsalemdev opened this issue 1 year ago • 2 comments

The prop value with an expression type of JSXEmptyExpression could not be resolved. [Warn - 4:25:13 PM] Linting file file:///Users/old_project/apps/landing-page/src/features/portfolio/edit-portfolio/components/EditEducation.tsx took 7603ms. Please check the ESLint rules for performance issues.

bilelsalemdev avatar Jan 07 '24 15:01 bilelsalemdev

What version of jsx-ast-utils is installed? Can you share the contents of that file?

ljharb avatar Jan 07 '24 15:01 ljharb

I saw this in my VSCode terminal using the ESLint extension.

npm ls jsx-ast-utils in my repo returns

@my/workspace@ /path/to/project
└─┬ @my/[email protected] -> ./packages/_eslint-config
  ├─┬ [email protected]
  │ └── [email protected]
  └─┬ [email protected]
    └── [email protected] deduped

Unfortunately I didn't notice and modified the file in a way that stopped this, so I don't know what the content that produced it was.

Hope this was at least a little helpful though :/

hitsthings avatar Apr 10 '24 00:04 hitsthings