From c3d57eef4f26d3c244fa5a79782295ec344c5285 Mon Sep 17 00:00:00 2001 From: rejas Date: Wed, 11 Mar 2020 08:52:25 +0100 Subject: [PATCH] Remove husky again, move lint as test to travis --- .travis.yml | 2 +- package.json | 7 +------ 2 files changed, 2 insertions(+), 7 deletions(-) diff --git a/.travis.yml b/.travis.yml index b6f2e352..2f9f3690 100644 --- a/.travis.yml +++ b/.travis.yml @@ -14,9 +14,9 @@ before_script: - "sh -e /etc/init.d/xvfb start" - sleep 5 script: + - npm run test:lint - npm run test:e2e - npm run test:unit - - grunt after_script: - npm list cache: diff --git a/package.json b/package.json index bb431a74..a3ffd9b8 100644 --- a/package.json +++ b/package.json @@ -12,6 +12,7 @@ "test": "NODE_ENV=test ./node_modules/mocha/bin/mocha tests --recursive", "test:unit": "NODE_ENV=test ./node_modules/mocha/bin/mocha tests/unit --recursive", "test:e2e": "NODE_ENV=test ./node_modules/mocha/bin/mocha tests/e2e --recursive", + "test:lint": "grunt", "config:check": "node tests/configs/check_config.js", "lint": "grunt" }, @@ -46,7 +47,6 @@ "grunt-stylelint": "latest", "grunt-yamllint": "latest", "http-auth": "^3.2.3", - "husky": "^4.2.3", "jsdom": "^11.6.2", "jshint": "^2.10.2", "mocha": "^7.0.0", @@ -80,10 +80,5 @@ }, "_moduleAliases": { "node_helper": "js/node_helper.js" - }, - "husky": { - "hooks": { - "pre-commit": "npm run lint" - } } }