From a897b385cbc09e4dabcc7cc15992639c79138dd0 Mon Sep 17 00:00:00 2001 From: Anton Yefremov Date: Sun, 5 Feb 2017 22:34:23 +0200 Subject: [PATCH] Integrate jshint linter --- package.json | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index bb8c30a..6fa7968 100644 --- a/package.json +++ b/package.json @@ -6,7 +6,8 @@ "scripts": { "test": "tape lib/**/*-test.js | tap-spec", "test-cov": "nyc npm test", - "report-cov": "nyc report --reporter=text-lcov | coveralls" + "report-cov": "nyc report --reporter=text-lcov | coveralls", + "jshint": "jshint lib/**/*.js" }, "repository": { "type": "git", @@ -20,6 +21,7 @@ "homepage": "https://github.com/yefremov/algorithms-with-javascript#readme", "devDependencies": { "coveralls": "^2.11.15", + "jshint": "^2.9.4", "nyc": "^10.1.2", "tap-spec": "^4.1.1", "tape": "^4.6.3"