Skip to content
This repository has been archived by the owner on Jun 9, 2022. It is now read-only.

Scan Hawkeye with Hawkeye #129

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions .hawkeyeignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
#All tests
/__tests__/

# files-contents detects `Private key in file` in pattern definition
lib/modules/files-contents/data.js

# JS Standard is dev dependency - don't really care about it
node-npmoutdated-standard-[1-9]
6 changes: 6 additions & 0 deletions .hawkeyerc
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"all": true,
"modules": ["all"],
"failOn": "low",
"showCode": true
}
7 changes: 7 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,17 @@ services:
language: node_js
node_js:
- 10
env:
- DO_SELF_SCAN=false
- DO_SELF_SCAN=true
matrix:
allow_failures:
- env: DO_SELF_SCAN=true
notifications:
email: false
script:
- npm test
- if [ ${DO_SELF_SCAN} == true ]; then bin/hawkeye scan; fi
deploy:
- provider: script
script: bash scripts/deploy.sh
Expand Down