webscopeio / license.sh

License checker tool - We're in a beta phase, any help is appreciated, especially reporting issues
https://webscopeio.github.io/license.sh
MIT License
40 stars 6 forks source link

Ignore packages #41

Closed 4rokis closed 4 years ago

4rokis commented 4 years ago

One should be able to ignore packages.

Lets say test is not able to resolve certain license. However, I am able to find online its license and confirm that it is ok for my scenario. I should be able to add it to config file to prevent further fails.

ignore: [
'package-utils@1.0.0',
'random@1.2.3'
]
4rokis commented 4 years ago

@jvorcak WDYT?

jvorcak commented 4 years ago

@S4n60w3n I'm on it

jvorcak commented 4 years ago

@S4n60w3n @jankoritak I suggest the following structure in the config

 "ignored_packages": {
    "python_pipenv": [
      "PyInquirer",
      "setuptools"
    ],
    "npm": [],
    "maven": [],
    "yarn": []
  }

For now, we will support excluding only the whole packages, not specific versions. WDYT?