Skip to content

Commit

Permalink
chore(api): unify separated no-implicit-any checks
Browse files Browse the repository at this point in the history
  • Loading branch information
vindard committed Nov 16, 2023
1 parent b87bfcd commit 6ea49ef
Show file tree
Hide file tree
Showing 8 changed files with 3 additions and 25 deletions.
4 changes: 1 addition & 3 deletions core/api/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -108,10 +108,8 @@ integration-in-ci:
unit-in-ci:
. ./.env && \
LOGLEVEL=warn $(BIN_DIR)/jest --config ./test/unit/jest.config.js --ci --bail --maxWorkers=50%
check-implicit:
pnpm run tsc-check-noimplicitany

check-code: check-implicit
check-code:
pnpm run tsc-check
pnpm run eslint-check
pnpm run build
Expand Down
1 change: 0 additions & 1 deletion core/api/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
{
"name": "api",
"scripts": {
"tsc-check-noimplicitany": "tsc --noEmit -p tsconfig.no-implicit-any.json",
"tsc-check": "tsc --noEmit",
"madge-check": "madge --circular --extensions ts ./src",
"madge-check-tests": "madge --circular --extensions ts ./test",
Expand Down
1 change: 0 additions & 1 deletion core/api/src/debug/websocket/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
"name": "galoy",
"type": "module",
"scripts": {
"tsc-check-noimplicitany": "tsc --noEmit -p tsconfig.no-implicit-any.json",
"tsc-check": "tsc --noEmit",
"eslint-check": "eslint \"{src,test}/**/*.ts\"",
"eslint-fix": "eslint \"{src,test}/**/*.ts\" --fix",
Expand Down
2 changes: 1 addition & 1 deletion core/api/src/debug/websocket/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"sourceMap": true,
"strict": true,
"target": "es2020",
"noImplicitAny": false,
"noImplicitAny": true,
"useUnknownInCatchVariables": false,
"esModuleInterop": true,
"baseUrl": "./",
Expand Down
3 changes: 0 additions & 3 deletions core/api/tsconfig-build.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
{
"extends": "./tsconfig.json",
"include": ["src/servers/**/*.ts", "src/**/*.d.ts"],
"compilerOptions": {
"noImplicitAny": true
}
}
4 changes: 0 additions & 4 deletions core/api/tsconfig.d.json

This file was deleted.

1 change: 1 addition & 0 deletions core/api/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
"esModuleInterop": true,
"baseUrl": "./",
"moduleResolution": "node",
"noImplicitAny": true,
"resolveJsonModule": true,
"paths": {
"@/*": [
Expand Down
12 changes: 0 additions & 12 deletions core/api/tsconfig.no-implicit-any.json

This file was deleted.

0 comments on commit 6ea49ef

Please sign in to comment.