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

pnpm-lock.yaml is not ignored #802

Closed
Jiralite opened this issue Aug 13, 2023 · 2 comments · Fixed by #803
Closed

pnpm-lock.yaml is not ignored #802

Jiralite opened this issue Aug 13, 2023 · 2 comments · Fixed by #803

Comments

@Jiralite
Copy link
Contributor

Jiralite commented Aug 13, 2023

Description

There was an effort to stop the spellchecking of lock files with #445. However, I am experiencing this with pnpm-lock.yaml.

Steps to Reproduce

Using the following .pre-commit-config.yaml:

repos:
  - repo: https://github.com/crate-ci/typos
    rev: v1.16.4
    hooks:
      - id: typos
        args: []
  1. pnpm init
  2. pnpm add uvu
  3. typos

This will be caught:

jiralite@Jiralites-MacBook-Pro test % typos
error: `sade` should be `sad`
  --> ./pnpm-lock.yaml:49:7
   |
49 |       sade: 1.8.1
   |       ^^^^
   |
@epage
Copy link
Collaborator

epage commented Aug 14, 2023

Looks like this is just a lockfile we weren't previously aware of

epage added a commit to epage/typos that referenced this issue Aug 14, 2023
@epage
Copy link
Collaborator

epage commented Aug 14, 2023

v1.16.5 is out with the fix

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

Successfully merging a pull request may close this issue.

2 participants