QuiiBz / sherif

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

feat: support excluded paths #25

Closed QuiiBz closed 1 year ago

QuiiBz commented 1 year ago

Relates to #24

Add support for excluded paths in the workspace, starting with a !. In this example, all packages under packages will be registered, plus the docs package, but excluding the packages/abc package and any package matching packages/d*:

packages:
  - 'packages/*'
  - 'docs'
  - '!packages/abc'
  - '!packages/d*'

Sherif will run as expected in TanStack query:

Screenshot 2023-11-11 at 08 46 30