Skip to content

Commit 97490c5

Browse files
committed
Remove unnecessary allowJs directive on tsconfigs
1 parent 529fad1 commit 97490c5

File tree

14 files changed

+295
-14
lines changed

14 files changed

+295
-14
lines changed

ee/apps/account-service/tsconfig.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
{
22
"extends": "@rocket.chat/tsconfig/server.json",
33
"compilerOptions": {
4-
"allowJs": true, // TODO remove asap
54
"incremental": true,
65

76
/* Strict Type-Checking Options */

ee/apps/authorization-service/tsconfig.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
"extends": "@rocket.chat/tsconfig/server.json",
33
"compilerOptions": {
44
"strictPropertyInitialization": false, // TODO: Remove this line
5-
"allowJs": true, // TODO: Remove this line
65
"outDir": "./dist"
76
},
87
"files": ["./src/service.ts"],

ee/apps/ddp-streamer/tsconfig.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
"extends": "@rocket.chat/tsconfig/server.json",
33
"compilerOptions": {
44
"strictPropertyInitialization": false, // TODO: Remove this line
5-
"allowJs": true, // TODO: Remove this line
65
"outDir": "./dist"
76
},
87
"include": ["./src/**/*", "./definition", "../../../apps/meteor/definition/externals/meteor/rocketchat-streamer.d.ts"],

ee/apps/omnichannel-transcript/tsconfig.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
{
22
"extends": "@rocket.chat/tsconfig/server.json",
33
"compilerOptions": {
4-
"allowJs": true,
54
"strictPropertyInitialization": false,
65
"outDir": "./dist/ee/apps/omnichannel-transcript/src",
76
},

ee/apps/presence-service/tsconfig.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
"extends": "@rocket.chat/tsconfig/server.json",
33
"compilerOptions": {
44
"strictPropertyInitialization": false, // TODO: Remove this line
5-
"allowJs": true, // TODO: Remove this line
65
"outDir": "./dist/ee/apps/presence-service/src",
76
},
87
"files": ["./src/service.ts"],

ee/apps/queue-worker/tsconfig.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
{
22
"extends": "@rocket.chat/tsconfig/server.json",
33
"compilerOptions": {
4-
"allowJs": true,
54
"strictPropertyInitialization": false,
65
"outDir": "./dist/ee/apps/queue-worker/src",
76
},

ee/apps/stream-hub-service/tsconfig.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
"extends": "@rocket.chat/tsconfig/server.json",
33
"compilerOptions": {
44
"strictPropertyInitialization": false, // TODO: Remove this line
5-
"allowJs": true, // TODO: Remove this line
65
"outDir": "./dist"
76
},
87
"files": ["./src/service.ts"],

packages/base64/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,8 @@
1010
"dev": "tsc -p tsconfig.build.json --watch --preserveWatchOutput",
1111
"lint": "eslint .",
1212
"lint:fix": "eslint . --fix",
13-
"test": "jest"
13+
"test": "jest",
14+
"testunit": "jest"
1415
},
1516
"devDependencies": {
1617
"@babel/core": "~7.26.10",

packages/base64/tsconfig.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
"compilerOptions": {
44
"outDir": "dist",
55
"rootDir": "src",
6-
"allowJs": true,
76
"noImplicitAny": true,
87
"noUnusedLocals": true,
98
"noUnusedParameters": true,

packages/random/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,8 @@
1212
"typecheck": "tsc --noEmit",
1313
"lint": "eslint .",
1414
"lint:fix": "eslint . --fix",
15-
"test": "jest"
15+
"test": "jest",
16+
"testunit": "jest"
1617
},
1718
"devDependencies": {
1819
"@babel/core": "~7.26.10",

0 commit comments

Comments
 (0)