Commit graph

4 commits

Author SHA1 Message Date
Warren Lee
103c63cc95
chore(eslint): add @typescript-eslint/no-unsafe-type-assertion rule (#1534)
Instead of using type assertions to narrow a type, it's better to rely on type guards, which help avoid potential runtime errors caused by unsafe type assertions.

Currently the rule is enforced in `common-utils` pkg

Dup of https://github.com/hyperdxio/hyperdx/pull/679
2025-12-30 16:01:11 +00:00
Brandon Pereira
922949ac7e
fix issue where swagger was not resolving correctly in dev env (#1478)
| Before | After | 
| --- | --- |
|  <img width="824" height="151" alt="Screenshot 2025-12-12 at 1 17 28 PM" src="https://github.com/user-attachments/assets/44d0af8d-c1d4-4551-a38d-38c54c3eaf8e" /> | <img width="1544" height="634" alt="Screenshot 2025-12-12 at 1 16 38 PM" src="https://github.com/user-attachments/assets/93156104-c4e9-493b-abab-b80a60b2e00f" /> | 
| <img width="2328" height="538" alt="Screenshot 2025-12-12 at 1 17 19 PM" src="https://github.com/user-attachments/assets/4cac5d92-8155-46eb-9b15-399223b9d2fd" /> | No Output |
2025-12-12 20:25:17 +00:00
Brandon Pereira
a96dfaef00
chore: update VSCode configuration and ESLint settings (#1462)
- Allow IDE to determine the best formatter based on settings, not force ESLint formatter (which has issues in v9)
- Added Prettier extension to VSCode extensions list.
- Updated ESLint settings to include working directories for better integration.
- Removed redundant TypeScript formatter settings.
- Excluded `.next` directory from search results in VSCode settings.
- Minor formatting adjustments in ESLint configuration files for consistency.

References: https://github.com/microsoft/vscode-eslint/issues/1826
2025-12-11 17:44:27 +00:00
Tom Alexander
52d2798582
chore: Update to next 16, react 19, add react compiler (#1434)
fixes: HDX-2956

Co-authored-by: Brandon Pereira <7552738+brandon-pereira@users.noreply.github.com>
2025-12-04 23:40:59 +00:00