Skip to content

Commit b061826

Browse files
abelmokademElad Ben-Israel
authored and
Elad Ben-Israel
committed
feat(cli): disable noUnusedLocals and noUnusedParameters from typescript templates (#2654)
1 parent 203f114 commit b061826

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

packages/aws-cdk/lib/init-templates/app/typescript/tsconfig.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@
99
"strictNullChecks": true,
1010
"noImplicitThis": true,
1111
"alwaysStrict": true,
12-
"noUnusedLocals": true,
13-
"noUnusedParameters": true,
12+
"noUnusedLocals": false,
13+
"noUnusedParameters": false,
1414
"noImplicitReturns": true,
1515
"noFallthroughCasesInSwitch": false,
1616
"inlineSourceMap": true,

packages/aws-cdk/lib/init-templates/lib/typescript/tsconfig.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@
99
"strictNullChecks": true,
1010
"noImplicitThis": true,
1111
"alwaysStrict": true,
12-
"noUnusedLocals": true,
13-
"noUnusedParameters": true,
12+
"noUnusedLocals": false,
13+
"noUnusedParameters": false,
1414
"noImplicitReturns": true,
1515
"noFallthroughCasesInSwitch": false,
1616
"inlineSourceMap": true,

packages/aws-cdk/lib/init-templates/sample-app/typescript/tsconfig.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@
99
"strictNullChecks": true,
1010
"noImplicitThis": true,
1111
"alwaysStrict": true,
12-
"noUnusedLocals": true,
13-
"noUnusedParameters": true,
12+
"noUnusedLocals": false,
13+
"noUnusedParameters": false,
1414
"noImplicitReturns": true,
1515
"noFallthroughCasesInSwitch": false,
1616
"inlineSourceMap": true,

0 commit comments

Comments
 (0)