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

Create uni_ui custom lint rule to avoid string literals #1385

Open
DGoiana opened this issue Nov 5, 2024 · 0 comments · May be fixed by #1400
Open

Create uni_ui custom lint rule to avoid string literals #1385

DGoiana opened this issue Nov 5, 2024 · 0 comments · May be fixed by #1400
Assignees
Labels
enhancement New feature or request

Comments

@DGoiana
Copy link
Collaborator

DGoiana commented Nov 5, 2024

To keep it as a design system, define a custom lint rule that detects string literals inside widgets defined in the uni_ui package. We avoid hardcoded texts and pass all of them as parameters.
Investigate custom_lint package in order to do it.

@DGoiana DGoiana added the enhancement New feature or request label Nov 5, 2024
@github-project-automation github-project-automation bot moved this to 📋 Product Backlog in UNI Nov 5, 2024
@Pinho13 Pinho13 linked a pull request Nov 26, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: 📋 Product Backlog
Development

Successfully merging a pull request may close this issue.

2 participants