Skip to content

Commit

Permalink
add license-auditor
Browse files Browse the repository at this point in the history
  • Loading branch information
piotr-s-brainhub committed Jun 30, 2020
1 parent 48ee7fc commit 7970540
Show file tree
Hide file tree
Showing 8 changed files with 1,781 additions and 17 deletions.
1 change: 1 addition & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ jobs:
steps:
- checkout
- run: yarn install --non-interactive
- run: yarn danger ci --failOnErrors --id @brainhubeu/react-carousel
- run: yarn lint
- run: yarn test
- persist_to_workspace:
Expand Down
File renamed without changes.
14 changes: 14 additions & 0 deletions dangerfile.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
const licenseAuditor = require('@brainhubeu/license-auditor');

const whitelist = require('./license/whitelist');
const blacklist = require('./license/blacklist');

licenseAuditor({
whitelistedLicenses: whitelist,
blacklistedLicenses: blacklist,
projectPath: `.`,
ciManager: {
warn,
fail,
},
});
Loading

0 comments on commit 7970540

Please sign in to comment.