Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork2.8k
Open
Description
- I have tried restarting my IDE and the issue persists.
- I have updated to the latest version of the packages.
- I haveread the FAQ and my problem is not listed.
Repro
{extends: ["plugin:@typescript-eslint/recommended","plugin:react/recommended"],parser: "@typescript-eslint/parser",parserOptions: {project: "tsconfig.json",sourceType: "module",ecmaFeatures: {jsx: true, }},rules: {"react/prop-types":0}}
/*@jsx MD *//*@jsxFrag Fragment */importMDfrom"..";import{Fragment}from".";<>Test</>;
Expected Result
This should lint just fine.
Actual Result
warning 'Fragment' is defined but never used @typescript-eslint/no-unused-vars
Versions
package | version |
---|---|
@typescript-eslint/eslint-plugin | 4.1.1-alpha.5 |
@typescript-eslint/parser | 4.1.1-alpha.5 |
TypeScript | 4.0.2 |
ESLint | 7.8.1 |
node | 12.18.3 |