Merge pull request #6638 from continuedev/pe/enum-rule

chore: create typescript-enum-usage.md
This commit is contained in:
Nate Sesti 2025-07-21 21:55:55 -07:00 committed by GitHub
commit 8853ff9b05
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 6 additions and 0 deletions

View File

@ -0,0 +1,6 @@
---
globs: "**/*.{ts,tsx}"
alwaysApply: false
---
Use enums instead of simple string unions when possible in TypeScript code