@codechecks/ban-deps-codecheck
TypeScript icon, indicating that this package has built-in type declarations

0.1.2 • Public • Published

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!

Package Sidebar

Install

npm i @codechecks/ban-deps-codecheck

Weekly Downloads

4

Version

0.1.2

License

MIT

Unpacked Size

6.85 kB

Total Files

9

Last publish

Collaborators

  • krzkaczor