/ban-deps-codecheck

Prevent direct or indirect dependencies on your package

Primary LanguageTypeScriptMIT LicenseMIT

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!