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

Currency codes are flagged as typos #123

Open
lokomilo opened this issue Jan 20, 2025 · 1 comment
Open

Currency codes are flagged as typos #123

lokomilo opened this issue Jan 20, 2025 · 1 comment
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@lokomilo
Copy link

Currency code strings such as USD and GBP are flagged as misspellings. Case does not seem to affect this, i.e. usd and gbp are also flagged.

This should be easily fixed by adding currency code strings to the ignore list. Perhaps the list of active codes at https://en.wikipedia.org/wiki/ISO_4217#Active_codes_(list_one) is suitable.

Could be added to the base.stub preset or perhaps a new currency specific one if that is preferred.

@c0nst4ntin c0nst4ntin added enhancement New feature or request good first issue Good for newcomers labels Jan 21, 2025
@c0nst4ntin
Copy link
Collaborator

@lokomilo Good Idea 👍🏼

On this topic there might be other iso codes we should also whitelist (e.g. countries etc.).
Could you maybe check if these also get flagged misspellings?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants