Skip to content

[Feature]: Implement Rule to Ban Enums and Artificial Syntax in TypeScript #320

@dmytrokirpa

Description

@dmytrokirpa

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:

  1. Use Existing Tools:

  2. Port Existing Rules:

    • We can port the existing rules under the fluent project to our codebase.
  3. Build Custom Rule:

    • We can develop a custom rule called no-artificial-syntax to ban enums and other artificial syntax structures by default, with an option to configure opt-outs for specific syntax structures.

Implementing this rule will help us maintain a cleaner and more manageable codebase. We welcome feedback and suggestions from the team on this proposal.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions