Open dotmh opened 5 years ago
Add Husky https://www.npmjs.com/package/husky to enforce commit standard.
"lint": "npx xo"
"lint:fix": "npx xo --fix",
"validate": "npm run test && npm run lint:fix"
"husky": { "hooks" : { "pre-commit": "npm run validate" } }
Add Husky https://www.npmjs.com/package/husky to enforce commit standard.
"lint": "npx xo"
"lint:fix": "npx xo --fix",
"validate": "npm run test && npm run lint:fix"