From bd6bfc8d2bbf8be21a9f52316c8b10058e88d5d8 Mon Sep 17 00:00:00 2001 From: Robert Jackson Date: Tue, 8 May 2018 17:11:55 -0700 Subject: [PATCH] Add `yarn lint:js` script. --- .travis.yml | 1 + package.json | 1 + 2 files changed, 2 insertions(+) diff --git a/.travis.yml b/.travis.yml index 1f6d6bdacb8..7503f1bb1c1 100644 --- a/.travis.yml +++ b/.travis.yml @@ -35,6 +35,7 @@ jobs: env: NAME=test # used only to make Travis UI show description script: - ./bin/lint-features + - yarn lint:js - yarn test - stage: additional tests diff --git a/package.json b/package.json index 14e80cbdf2e..375a360cd77 100644 --- a/package.json +++ b/package.json @@ -10,6 +10,7 @@ "scripts": { "build": "ember build", "build:production": "ember build --environment=production", + "lint:js": "eslint .", "start": "ember server", "test": "ember test && ember test --record-data-rfc-build", "test:all": "ember try:each",