fix: api linting could fail locally (#1164)

it could fail locally depending on if the .d.ts files in common-utils were generated, since common-utils uses aliases and tsup can't generate these aliases, we turn off skipLibCheck ([which is recommended](https://www.typescriptlang.org/tsconfig/#skipLibCheck)) and those files are not type checked, those ignoring the alias issue but still type checking the code)

**Note**: This setting is already enabled in `app`, so we are just syncing it to `api` and `common-utils` 

original ticket: https://github.com/hyperdxio/hyperdx/pull/1159
This commit is contained in:
Brandon Pereira 2025-09-17 08:53:24 -06:00 committed by GitHub
parent 1d79980e31
commit 3d82583fce
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 9 additions and 7 deletions

View file

@ -0,0 +1,5 @@
---
"@hyperdx/common-utils": patch
---
fix issue where linting could fail locally

View file

@ -2,10 +2,7 @@
"compilerOptions": {
"module": "Node16",
"moduleResolution": "node",
"lib": [
"ES2022",
"dom"
],
"lib": ["ES2022", "dom"],
"allowSyntheticDefaultImports": true,
"downlevelIteration": true,
"esModuleInterop": true,
@ -17,9 +14,9 @@
"noImplicitThis": false,
"noUnusedLocals": false,
"noUnusedParameters": false,
"skipLibCheck": false,
"skipLibCheck": true,
"sourceMap": true,
"strict": true,
"target": "ES2022",
"target": "ES2022"
}
}
}