Skip to content
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

eslint rules for CDK apps #32293

Open
rix0rrr opened this issue Nov 26, 2024 · 1 comment
Open

eslint rules for CDK apps #32293

rix0rrr opened this issue Nov 26, 2024 · 1 comment
Labels
effort/medium Medium work item – several days of effort feature-request A feature should be added or improved. p1 package/tools Related to AWS CDK Tools or CLI

Comments

@rix0rrr
Copy link
Contributor

rix0rrr commented Nov 26, 2024

Describe the feature

We should have a collection of linter rules to help write CDK apps. There are common mistakes that are hard to prevent at runtime, and require static source analysis.

Examples:

  • Don't use variable names in construct IDs
  • Don't mix L1 and L2 types
  • Don't pass scope but pass this

Etc. I'm sure we can come up with more. Put your best ideas in here!

@rix0rrr rix0rrr added feature-request A feature should be added or improved. needs-triage This issue or PR still needs to be triaged. labels Nov 26, 2024
@rix0rrr rix0rrr added the p1 label Nov 26, 2024
@ashishdhingra
Copy link
Contributor

@rix0rrr Good morning. Please also refer #32136 where user opened a similar feature request.

Thanks,
Ashish

@ashishdhingra ashishdhingra added package/tools Related to AWS CDK Tools or CLI effort/medium Medium work item – several days of effort and removed needs-triage This issue or PR still needs to be triaged. labels Nov 26, 2024
@ashishdhingra ashishdhingra removed their assignment Nov 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
effort/medium Medium work item – several days of effort feature-request A feature should be added or improved. p1 package/tools Related to AWS CDK Tools or CLI
Projects
None yet
Development

No branches or pull requests

3 participants