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

CHECK interpreted as CHEC #874

Closed
rikhuijzer opened this issue Nov 29, 2023 · 2 comments
Closed

CHECK interpreted as CHEC #874

rikhuijzer opened this issue Nov 29, 2023 · 2 comments

Comments

@rikhuijzer
Copy link

rikhuijzer commented Nov 29, 2023

When I create an empty folder and add one file containing:

script will attempt to insert the generated CHECKs to the source file by looking

then typos will return:

error: `CHEC` should be `CHECK`
  --> ./tmp.txt:1:45
  |
1 | script will attempt to insert the generated CHECKs to the source file by looking
  |                                             ^^^^
  |

Is this a false-positive or am I doing something wrong?

@epage
Copy link
Collaborator

epage commented Nov 29, 2023

If you run typos --words you'll see that CHECKs is being split into CHEC Ks as Ks is being assumed to be a camel case name.

@epage
Copy link
Collaborator

epage commented Nov 30, 2023

Closing in favor of #745

@epage epage closed this as not planned Won't fix, can't repro, duplicate, stale Nov 30, 2023
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

2 participants