truffle-analyze
Version:
Add vulnerability and weakness analysis via the MythX
18 lines (12 loc) • 332 B
Plain Text
#: Run lint and then tests
check: lint
npx mocha test/test*.js
#: same thing as "make check"
test: check
#: Look for nodejs lint violations
lint:
npx eslint --rulesdir=tools/eslint-rules lib
#: Look and fix nodejs lint violations
lint-fix:
npx eslint --fix --rulesdir=tools/eslint-rules lib