Awesome
<p align="center"> <h3 align="center">Ban Dependencies Codecheck</h3> <p align="center">Prevent direct or indirect production dependencies on your package</p> <p align="center"> <a href="https://circleci.com/gh/codechecks/commit-deployment"><img alt="Build Status" src="https://circleci.com/gh/codechecks/commit-deployment/tree/master.svg?style=svg"></a> <a href="/package.json"><img alt="Software License" src="https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat-square"></a> </p> </p>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!