-
Notifications
You must be signed in to change notification settings - Fork 4
chore: fix linter and ts warnings #490
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
Cursor Agent can help with this pull request. Just |
Deploying with
|
| Status | Name | Latest Commit | Updated (UTC) |
|---|---|---|---|
| ✅ Deployment successful! View logs |
devcycle-mcp-server | 25f766a | Aug 14 2025, 06:27 PM |
Co-authored-by: jonathan <[email protected]>
Co-authored-by: jonathan <[email protected]>
Co-authored-by: jonathan <[email protected]>
Co-authored-by: jonathan <[email protected]>
Co-authored-by: jonathan <[email protected]>
Co-authored-by: jonathan <[email protected]>
6fcec27 to
25f766a
Compare
src/ui/targetingTree.ts
Outdated
| appVersion: 'App Version', | ||
| deviceModel: 'Device Model', | ||
| customData: 'Custom Data', | ||
| audienceMatch: 'Audience Match', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this shouldn't be a subtype since its a type attribute
- Remove country, appVersion, deviceModel, customData, audienceMatch, deviceType from subTypeMap - These are filter types, not subtypes - they don't belong in the subTypeMap - Add fallback handling for unmapped subtypes using type assertion - Addresses reviewer feedback: subTypeMap should only contain actual subtypes Fixes the logical error where filter types were incorrectly mixed with subtypes.
Fixes all TypeScript compilation errors and significantly reduces ESLint warnings by updating oclif API usage, resolving import paths, and removing unused code.