Skip to content

Commit

Permalink
chore: removed noUnused(Locals|Parameters) from tsconfig.base.json (t…
Browse files Browse the repository at this point in the history
…ypescript-eslint#4882)

* chore: removed noUnused(Locals|Parameters) from tsconfig.base.json

* fix: unused directives
  • Loading branch information
JoshuaKGoldberg authored May 2, 2022
1 parent 63a9003 commit 58d434a
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 4 deletions.
1 change: 0 additions & 1 deletion packages/ast-spec/tests/PunctuatorTokenToText.type-test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ import type { PunctuationSyntaxKind } from 'typescript';

import type { PunctuatorTokenToText } from '../src';

// @ts-expect-error: purposely unused
type _Test = {
readonly [T in PunctuationSyntaxKind]: PunctuatorTokenToText[T];
// If there are any PunctuationSyntaxKind members that don't have a
Expand Down
1 change: 0 additions & 1 deletion packages/ast-spec/tests/ast-node-types.type-test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ type AllKeys = {

type TakesString<T extends Record<string, string>> = T;

// @ts-expect-error: purposely unused
type _Test =
// forcing the test onto a new line so it isn't covered by the expect error
// If there are any enum members that don't have a corresponding TSESTree.Node, then this line will error with "Type 'string | number | symbol' is not assignable to type 'string'."
Expand Down
2 changes: 0 additions & 2 deletions tsconfig.base.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,6 @@
"module": "commonjs",
"moduleResolution": "node",
"noImplicitReturns": true,
"noUnusedLocals": true,
"noUnusedParameters": true,
"pretty": true,
"skipLibCheck": true,
"sourceMap": true,
Expand Down

0 comments on commit 58d434a

Please sign in to comment.