mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-05-24 01:29:35 +02:00
Merge pull request #16353 from overleaf/em-typescript-in-web-backend
Enable type checking in the web backend GitOrigin-RevId: cc8e34777c89704765fcd9b973aed806c3ae9016
This commit is contained in:
committed by
Copybot
parent
96cc251de2
commit
93fc571f89
@@ -470,6 +470,10 @@ lint: typecheck_frontend
|
||||
typecheck_frontend:
|
||||
npx -p typescript tsc --noEmit
|
||||
|
||||
lint: typecheck_backend
|
||||
typecheck_backend:
|
||||
npx -p typescript tsc -p tsconfig.backend.json --noEmit
|
||||
|
||||
lint_in_docker:
|
||||
$(RUN_LINT_FORMAT) make lint -j2 --output-sync
|
||||
|
||||
|
||||
1
services/web/app/src/tsconfig.json
Normal file
1
services/web/app/src/tsconfig.json
Normal file
@@ -0,0 +1 @@
|
||||
{ "extends": "../../tsconfig.backend.json" }
|
||||
@@ -0,0 +1 @@
|
||||
{ "extends": "../../../../tsconfig.backend.json" }
|
||||
1
services/web/modules/launchpad/app/src/tsconfig.json
Normal file
1
services/web/modules/launchpad/app/src/tsconfig.json
Normal file
@@ -0,0 +1 @@
|
||||
{ "extends": "../../../../tsconfig.backend.json" }
|
||||
@@ -0,0 +1 @@
|
||||
{ "extends": "../../../../tsconfig.backend.json" }
|
||||
1
services/web/modules/launchpad/test/unit/tsconfig.json
Normal file
1
services/web/modules/launchpad/test/unit/tsconfig.json
Normal file
@@ -0,0 +1 @@
|
||||
{ "extends": "../../../../tsconfig.backend.json" }
|
||||
@@ -0,0 +1 @@
|
||||
{ "extends": "../../../../tsconfig.backend.json" }
|
||||
1
services/web/modules/user-activate/app/src/tsconfig.json
Normal file
1
services/web/modules/user-activate/app/src/tsconfig.json
Normal file
@@ -0,0 +1 @@
|
||||
{ "extends": "../../../../tsconfig.backend.json" }
|
||||
@@ -0,0 +1 @@
|
||||
{ "extends": "../../../../tsconfig.backend.json" }
|
||||
1
services/web/scripts/tsconfig.json
Normal file
1
services/web/scripts/tsconfig.json
Normal file
@@ -0,0 +1 @@
|
||||
{ "extends": "../tsconfig.backend.json" }
|
||||
1
services/web/test/acceptance/tsconfig.json
Normal file
1
services/web/test/acceptance/tsconfig.json
Normal file
@@ -0,0 +1 @@
|
||||
{ "extends": "../../tsconfig.backend.json" }
|
||||
1
services/web/test/smoke/tsconfig.json
Normal file
1
services/web/test/smoke/tsconfig.json
Normal file
@@ -0,0 +1 @@
|
||||
{ "extends": "../../tsconfig.backend.json" }
|
||||
1
services/web/test/unit/tsconfig.json
Normal file
1
services/web/test/unit/tsconfig.json
Normal file
@@ -0,0 +1 @@
|
||||
{ "extends": "../../tsconfig.backend.json" }
|
||||
22
services/web/tsconfig.backend.json
Normal file
22
services/web/tsconfig.backend.json
Normal file
@@ -0,0 +1,22 @@
|
||||
{
|
||||
"compilerOptions": {
|
||||
"allowJs": true,
|
||||
"esModuleInterop": true,
|
||||
"moduleResolution": "node",
|
||||
"noEmit": true,
|
||||
"noImplicitAny": false,
|
||||
"skipLibCheck": true,
|
||||
"strict": true
|
||||
},
|
||||
"include": [
|
||||
"app/src/**/*",
|
||||
"modules/*/app/src/**/*",
|
||||
"modules/*/test/acceptance/**/*",
|
||||
"modules/*/test/smoke/**/*",
|
||||
"modules/*/test/unit/**/*",
|
||||
"scripts/**/*",
|
||||
"test/acceptance/**/*",
|
||||
"test/smoke/**/*",
|
||||
"test/unit/**/*"
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user