From 545a627c03ba9cdb0ce1e94e1baab11b5c435edb Mon Sep 17 00:00:00 2001 From: "Juan Picado @jotadeveloper" Date: Wed, 5 Dec 2018 23:57:55 +0100 Subject: [PATCH] chore: add new script to lint js only --- package.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index abb93c45f..83d5cf5d0 100644 --- a/package.json +++ b/package.json @@ -177,7 +177,8 @@ "test:all": "npm run build:webui && npm run test && npm run test:functional && npm run test:e2e && npm run test:size", "pre:ci": "npm run lint && npm run build:webui", "coverage:publish": "codecov", - "lint": "npm run flow && eslint . && npm run lint:css", + "lint": "npm run flow && npm run lint:js && npm run lint:css", + "lint:js": "eslint . ", "lint:css": "stylelint 'src/**/*.scss' --syntax scss", "dev:start": "cross-env BABEL_ENV=registry babel-node src/lib/cli", "code:build": "cross-env BABEL_ENV=registry babel src/ --out-dir build/ --ignore src/webui/ --copy-files",