-
-
Notifications
You must be signed in to change notification settings - Fork 2.8k
Closed
Labels
bugSomething isn't workingSomething isn't workinghas prthere is a PR raised to close thisthere is a PR raised to close thispackage: eslint-pluginIssues related to @typescript-eslint/eslint-pluginIssues related to @typescript-eslint/eslint-plugin
Milestone
Description
- I have tried restarting my IDE and the issue persists.
- I have updated to the latest version of the packages.
- I have read the FAQ and my problem is not listed.
I also tried canary versions.
Repro
{
"rules": {
"@typescript-eslint/no-unused-vars": "error"
}
}
declare global {
interface Window {
/* ... */
}
}
declare module 'external-module' {
export default (arg: any) => any
}
Expected Result
I didn't expect any error.
Actual Result
- Error
'global' is defined but never used.
- Error
'arg' is defined but never used.
Versions
package | version |
---|---|
@typescript-eslint/eslint-plugin |
4.1.0 |
@typescript-eslint/parser |
4.1.0 |
TypeScript |
4.0.2 |
ESLint |
7.8.1 |
node |
12.18.1 |
Guymestef, charliematters, fwielstra, gms-ta-koge, abenhamdine and 14 morezouhangwithsweetbrainkim and eric-blue
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workinghas prthere is a PR raised to close thisthere is a PR raised to close thispackage: eslint-pluginIssues related to @typescript-eslint/eslint-pluginIssues related to @typescript-eslint/eslint-plugin