Closed strager closed 8 months ago
fix(fe): don't report React-specific JSX errors in non-React code
Preact uses JSX but has different rules for attributes. Disable our React-specific rules if a React import is not detected.
Stack created with Sapling. Best reviewed with ReviewStack.
(I was testing something.)
fix(fe): don't report React-specific JSX errors in non-React code
Preact uses JSX but has different rules for attributes. Disable our React-specific rules if a React import is not detected.
Stack created with Sapling. Best reviewed with ReviewStack.
1164
1163