Skip to content

Latest commit

 

History

History
40 lines (29 loc) · 1.13 KB

README.md

File metadata and controls

40 lines (29 loc) · 1.13 KB

Ban Dependencies Codecheck

Prevent direct or indirect production dependencies on your package

Build Status Software License

Install

npm install --save-dev @codechecks/ban-deps-codecheck

Usage

Are you new to codechecks? Check out getting started guide (it's simple)!

Add to your codechecks.yml file:

checks:
  - name: ban-deps-codecheck
    options:
      - name: node-gyp
        reason: "No native modules please! They make installation much harder"
  # ...

👉 Note:

  • it will check only production dependencies
  • works only with yarn right now

Contributing

Have an idea to improve this check? Don't hesitate to create an issue / submit a PR!