mirror of
https://github.com/hyperdxio/hyperdx
synced 2026-04-21 13:37:15 +00:00
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:
parent
1d79980e31
commit
3d82583fce
2 changed files with 9 additions and 7 deletions
5
.changeset/dry-snails-beam.md
Normal file
5
.changeset/dry-snails-beam.md
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
---
|
||||
"@hyperdx/common-utils": patch
|
||||
---
|
||||
|
||||
fix issue where linting could fail locally
|
||||
|
|
@ -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"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue