QuiiBz / sherif

Opinionated, zero-config linter for JavaScript monorepos
MIT License
915 stars 14 forks source link

Adding !<package> will make all the child folders ignored by sherif #90

Closed baptisteArno closed 3 months ago

baptisteArno commented 3 months ago
          This behavior is expected, as any folder in e.g. `apps/*` is considered a package. We could (and maybe should) ignore `.npm` folders though, and for `packages/ui` you should update your `workspaces` configuration to add `!packages/ui`

Originally posted by @QuiiBz in https://github.com/QuiiBz/sherif/issues/86#issuecomment-2283258838

On my repo: https://github.com/baptisteArno/typebot.io

If I run sherif as is, it will say that openai package has different versions accross the repo.

As soon as I add !packages/forge to my package json workspaces list, the error disappear which makes me think that forge/blocks/openai package is then ignored because of that

QuiiBz commented 2 months ago

Now released in https://github.com/QuiiBz/sherif/releases/tag/v1.0.0!