-
Notifications
You must be signed in to change notification settings - Fork 56
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Implement a rule to ban the use of enums and other artificial syntax structures in our codebase. This can be achieved through one of the following approaches:
-
Use Existing Tools:
- Rule proposal: no-enum / ban-enum / no-use-enum typescript-eslint/typescript-eslint#561 (comment) or https://cartant.github.io/tslint-etc/ : these tools provide rules to ban enums, but we need to verify their current status and compatibility.
-
Port Existing Rules:
- We can port the existing rules under the fluent project to our codebase.
-
Build Custom Rule:
- We can develop a custom rule called
no-artificial-syntaxto ban enums and other artificial syntax structures by default, with an option to configure opt-outs for specific syntax structures.
- We can develop a custom rule called
Implementing this rule will help us maintain a cleaner and more manageable codebase. We welcome feedback and suggestions from the team on this proposal.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request