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

Lint rule to advise usage of Formatters where appropriate #13

Open
g-Off opened this issue Feb 4, 2020 · 0 comments
Open

Lint rule to advise usage of Formatters where appropriate #13

g-Off opened this issue Feb 4, 2020 · 0 comments

Comments

@g-Off
Copy link
Owner

g-Off commented Feb 4, 2020

Having a lint rule that could detect strings such as:

  • "Item costs $ %@"
  • "%@ %% off"
    and so on... would be useful

Look for strings where a (NS)NumberFormatter with currency or percentage style would be better suited

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant