`no-unused-vars` error occurs at `import React from "react";`
Closed this issue · 0 comments
shintaroNagata commented
When I use the preset react-prettier
, I get a no-unused-vars
error at the import statement for React
in .jsx
file.
I think importing React
is necessary to define react components even though I don't use React
directly.