Thanks to visit codestin.com
Credit goes to github.com

Skip to content

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

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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