Skip to content

Commit 86f8220

Browse files
committed
disable typescript noUnusedLocals in tests and examples
1 parent 613d9ef commit 86f8220

File tree

4 files changed

+9
-11
lines changed

4 files changed

+9
-11
lines changed
Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,11 @@
11
{
22
"extends": "../../tsconfig.base.json",
33
"include": ["examples"],
4-
"references": [
5-
{ "path": "tsconfig.src.json" }
6-
],
4+
"references": [{ "path": "tsconfig.src.json" }],
75
"compilerOptions": {
86
"tsBuildInfoFile": ".tsbuildinfo/examples.tsbuildinfo",
97
"rootDir": "examples",
108
"noEmit": true,
9+
"noUnusedLocals": false
1110
}
1211
}
Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,12 @@
11
{
22
"extends": "../../tsconfig.base.json",
33
"include": ["test"],
4-
"references": [
5-
{"path": "tsconfig.src.json"}
6-
],
4+
"references": [{ "path": "tsconfig.src.json" }],
75
"compilerOptions": {
86
"tsBuildInfoFile": ".tsbuildinfo/test.tsbuildinfo",
97
"rootDir": "test",
108
"noEmit": true,
11-
"exactOptionalPropertyTypes": false
9+
"exactOptionalPropertyTypes": false,
10+
"noUnusedLocals": false
1211
}
1312
}
Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,11 @@
11
{
22
"extends": "../../tsconfig.base.json",
33
"include": ["examples"],
4-
"references": [
5-
{ "path": "tsconfig.src.json" }
6-
],
4+
"references": [{ "path": "tsconfig.src.json" }],
75
"compilerOptions": {
86
"tsBuildInfoFile": ".tsbuildinfo/examples.tsbuildinfo",
97
"rootDir": "examples",
108
"noEmit": true,
9+
"noUnusedLocals": false
1110
}
1211
}

packages/services/tsconfig.test.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
"tsBuildInfoFile": ".tsbuildinfo/test.tsbuildinfo",
1010
"rootDir": "test",
1111
"noEmit": true,
12-
"exactOptionalPropertyTypes": false
12+
"exactOptionalPropertyTypes": false,
13+
"noUnusedLocals": false
1314
}
1415
}

0 commit comments

Comments
 (0)