mirror of
				https://github.com/NodeBB/NodeBB.git
				synced 2025-10-30 18:46:01 +01:00 
			
		
		
		
	chore(husky): setting up husky as recommended in docs
This commit is contained in:
		| @@ -14,8 +14,12 @@ | ||||
|         "lint": "eslint --cache ./nodebb .", | ||||
|         "pretest": "npm run lint", | ||||
|         "test": "nyc --reporter=html --reporter=text-summary mocha", | ||||
|         "coveralls": "nyc report --reporter=text-lcov | coveralls && rm -r coverage", | ||||
|         "precommit": "lint-staged" | ||||
|         "coveralls": "nyc report --reporter=text-lcov | coveralls && rm -r coverage" | ||||
|     }, | ||||
|     "husky": { | ||||
|         "hooks": { | ||||
|             "pre-commit": "lint-staged" | ||||
|         } | ||||
|     }, | ||||
|     "lint-staged": { | ||||
|         "*.js": [ | ||||
|   | ||||
		Reference in New Issue
	
	Block a user