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

AST utility module for statically analyzing JSX

Results 18 jsx-ast-utils issues
Sort by recently updated
recently updated
newest added

Occurs with most recent version 3.3.3. Using `@typescript-eslint/parser`. Repros: ``` ``` ``` ```

[Info - 2:53:24 AM] ESLint server is starting. [Info - 2:53:25 AM] ESLint server running in node v20.19.0 [Info - 2:53:25 AM] ESLint server is running. [Info - 2:53:26 AM]...

getPropValue(getProp(node.attributes, 'style')) for below code is returning { display: 'none' } where as it should return with expression like { display: (slideIndex === 0) ? "block" : "none" }. ``

I ran into this error prompting me to open a ticket: ![Image](https://github.com/user-attachments/assets/5f19c7a9-fb8e-4a5d-acdb-4ec8418ff2c3) ``` Running eslint ... The prop value with an expression type of JSXEmptyExpression could not be resolved. Please...

As @ljharb mentioned in https://github.com/jsx-eslint/jsx-ast-utils/pull/114#issuecomment-1869612048, he's open for a breaking change right now > if eslint forced a breaking change, at that time I’d reevaluate what we supported --- BREAKING...

I am trying to use eslint-plugin-jsx-a11y to lint [Astro](https://astro.build/) components via https://github.com/ota-meshi/eslint-plugin-astro but the JSX parser fails with: ```ts > pnpm eslint src Oops! Something went wrong! :( ESLint: 9.18.0...

enhancement
help wanted

ERROR The prop value with an expression type of TSInstantiationExpression could not be resolved. Please file an issue ( https://github.com/jsx-eslint/jsx-ast-utils/issues/new ) to get this fixed immediately.

This lib is now completely dependency free šŸ„³šŸŽ‰