simonhaenisch/prettier-plugin-organize-imports

Removes an import for React in tsx file

ragraff opened this issue · 1 comments

Can there be some way of ignoring import React from 'react'; at the top of a tsx file?

Please use issue search first: https://github.com/simonhaenisch/prettier-plugin-organize-imports/issues?q=is%3Aissue+is%3Aclosed+react

Basically you need to set up the jsx factory properly in your tsconfig.