You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
...to a newer version, running eslint shows many @typescript-eslint/no-unused-vars errors, which aren't errors:
i.e.
export const XY: InjectionKey<Ref<boolean | ((arg: string) => boolean)>> = Symbol('XY'); // 'arg' is defined but never used @typescript-eslint/no-unused-vars
export type CustomFiltersType = Record<
string,
{
label?: (value: any) => string; // 'value' is defined but never used @typescript-eslint/no-unused-vars
}
// in vue props:
disabledDate: {
type: Function as PropType<(date: string) => boolean>, // 'date' is defined but never used @typescript-eslint/no-unused-vars
},
>;
Maybe related to #7211, but what's written there didn't solve it.
bradzacher
added
external
This issue is with another package, not typescript-eslint itself
vue
issues relating to vue support
and removed
triage
Waiting for team members to take a look
labels
Aug 2, 2023
Before You File a Bug Report Please Confirm You Have Done The Following...
Issue Description
After updating ...
...to a newer version, running eslint shows many @typescript-eslint/no-unused-vars errors, which aren't errors:
i.e.
Maybe related to #7211, but what's written there didn't solve it.
Reproduction Repository Link
https://github.com/plehnen/eslint-demo
Repro Steps
yarn install
yarn fix:lint
Versions
@typescript-eslint/eslint-plugin
^6.2.1
@typescript-eslint/parser
^6.2.1
@typescript-eslint/typescript-estree
^6.2.1
TypeScript
5.1.6
ESLint
8.46.0
node
18.16.0
The text was updated successfully, but these errors were encountered: