From 825dce5fde8a48769f856b3644860bc21e02c690 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=B8ren=20Louv-Jansen?= Date: Mon, 30 Oct 2017 21:37:23 +0100 Subject: [PATCH] Run ESLint on Travis --- .travis.yml | 3 +++ package.json | 3 ++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 6eb28acf..8ca711aa 100644 --- a/.travis.yml +++ b/.travis.yml @@ -3,3 +3,6 @@ node_js: - "6" - "8" cache: yarn +script: + - npm run lint + - npm test diff --git a/package.json b/package.json index 5297b964..d61ba1d9 100644 --- a/package.json +++ b/package.json @@ -7,7 +7,8 @@ }, "license": "MIT", "scripts": { - "test": "jest" + "test": "jest", + "lint": "eslint ./src" }, "repository": { "type": "git",