iamturns / eslint-config-airbnb-typescript

Airbnb's ESLint config with TypeScript support
MIT License
1.05k stars 98 forks source link

@typescript-eslint/no-unused-vars should follow the same pattern with tsc by default #328

Open ShuiRuTian opened 1 year ago

ShuiRuTian commented 1 year ago
function foo(a, _b){
}

For foo, tsc will treat _b as used, which means, if you enable config noUnusedParameters, there will be an error on a, but no error on _b.

It might be a good choice to follow the same pattern by default.