import React from "react" triggers two lint rules, verbatim-module-syntax: It wants import type Reactno-unused-vars: React isn't used explicitely in that fileplugin:react/recommended for ESLint, or somehow disable those rules in very specific cases?