From ffc596b4944988b01b3c388e70f566fbf75f717e Mon Sep 17 00:00:00 2001 From: Alejandro Celaya Date: Fri, 24 Aug 2018 12:02:28 +0200 Subject: [PATCH] Enabled linting on CI --- .travis.yml | 2 +- package.json | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index e67f3fd7..f90670eb 100644 --- a/.travis.yml +++ b/.travis.yml @@ -12,7 +12,7 @@ install: - yarn install script: - # - yarn inspect + - yarn lint - yarn test:ci - yarn build # Make sure the app can be built without errors diff --git a/package.json b/package.json index b57dd202..c408461c 100644 --- a/package.json +++ b/package.json @@ -4,6 +4,9 @@ "version": "0.1.0", "private": false, "scripts": { + "lint": "yarn lint:js && yarn lint:css", + "lint:js": "eslint src test scripts config", + "lint:css": "echo \"no css linting\"", "start": "node scripts/start.js", "build": "node scripts/build.js", "test": "node scripts/test.js --env=jsdom --colors",