Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/codechecks/ban-deps-codecheck

Prevent direct or indirect dependencies on your package
https://github.com/codechecks/ban-deps-codecheck

Last synced: about 2 months ago
JSON representation

Prevent direct or indirect dependencies on your package

Awesome Lists containing this project

README

        


Ban Dependencies Codecheck


Prevent direct or indirect production dependencies on your package


Build Status
Software License

## Install

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

## Usage

Are you new to codechecks? Check out
[getting started guide (it's simple)](https://github.com/codechecks/docs/blob/master/getting-started.md)!

Add to your `codechecks.yml` file:

```yml
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!