Ban Dependencies Codecheck
Prevent direct or indirect production dependencies on your package
npm install --save-dev @codechecks/ban-deps-codecheck
Are you new to codechecks? Check out getting started guide (it's simple)!
Add to your
checks:- name: ban-deps-codecheckoptions:- name: node-gypreason: "No native modules please! They make installation much harder"# ...
- it will check only production dependencies
- works only with yarn right now
Have an idea to improve this check? Don't hesitate to create an issue / submit a PR!