Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork2.8k
Closed as not planned
Description
Before You File a Bug Report Please Confirm You Have Done The Following...
- I have tried restarting my IDE and the issue persists.
- I have updated to the latest version of the packages.
- I havesearched for related issues and found none that matched my issue.
- I haveread the FAQ and my problem is not listed.
Playground Link
Repro Code
import{OnDestroy}from'@angular/core';interfaceIInter{}/** * {@link OnDestroy} {@link IInter} */exportfunctionFun(){return0;}
ESLint Config
module.exports={parser:"@typescript-eslint/parser",rules:{"no-unused-vars":"off","@typescript-eslint/no-unused-vars":"error"},};
tsconfig
{"compilerOptions": {// ... }}
Expected Result
I expected none of these errors to occur:
'OnDestroy' is defined but never used. 1:10 - 1:19'IInter' is defined but never used. 3:11 - 3:17
Actual Result
The linter throws the following errors:
'OnDestroy' is defined but never used. 1:10 - 1:19'IInter' is defined but never used. 3:11 - 3:17
Additional Info
No response