InbestigatorI
Denoβ€’17mo agoβ€’
1 reply
Inbestigator

Importing React causes linting issues

import React from "react"
triggers two lint rules,
*
verbatim-module-syntax
: It wants
import type React

*
no-unused-vars
: React isn't used explicitely in that file

How can I either install a plugin like
plugin:react/recommended
for ESLint, or somehow disable those rules in very specific cases?
image.png
Was this page helpful?