Open plaa opened 2 years ago
Facing the same issue with a _unusedVariable
//eslint-disable-next-line @typescript-eslint/no-unused-vars
const [_iDontCare, indexAsString, remainder] = key.match(matcher)!;
(typescript) Error: semantic error TS6133: '_iDontCare' is declared but its value is never read.
Current Behavior
When I create a new project using
npx tsdx create mylib
and add the following two lines to src/index.ts:the
npm run lint
command still complains about it:I've also tested
eslint-disable
,eslint-disable-line
andeslint-disable-next-line
with no rule definition, and in all cases eslint still complains. I can only assume this is a tsdx bug as it works on normal eslint installations.Reproduction repo: https://github.com/plaa/tsdx-eslint-disable-next-line-bug
Expected behavior
eslint-disable-next-line
works normally.Your environment