From d9d7462d87a63eaca6548f997e7e3062c1f58d36 Mon Sep 17 00:00:00 2001 From: Brandy Carney Date: Wed, 28 Mar 2018 18:26:14 -0400 Subject: [PATCH] chore(lint): update lint tasks --- core/package.json | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/core/package.json b/core/package.json index 60f14c12b6..336c7eaeb0 100644 --- a/core/package.json +++ b/core/package.json @@ -57,9 +57,11 @@ "devapp": "sd concurrent \"stencil build --dev --watch --docs\" \"stencil-dev-server --broadcast\"", "e2e": "node ./scripts/e2e", "e2e-debug": "node --inspect --debug-brk ./scripts/e2e", - "lint": "npm run tslint && npm run sass-lint", + "lint": "npm run lint.ts & npm run lint.sass", + "lint.sass": "sass-lint -v -q", + "lint.ts": "tslint --project .", + "lint.ts.fix": "tslint --project . --fix", "prerelease": "npm run validate && np prerelease --yolo --any-branch --tag next", - "sass-lint": "sass-lint -v -q", "set.version": "node scripts/set-version.js", "snapshot": "node ./scripts/e2e --snapshot", "test": "jest --no-cache", @@ -69,8 +71,6 @@ "theme-builder:dev": "sd concurrent \"npm run theme-app-build -- --watch\" \"stencil build --dev --watch\" \"stencil-dev-server\" \"npm run theme-server\" ", "theme-server": "node scripts/theme-builder/server.js", "tsc": "./node_modules/.bin/tsc -p .", - "tslint": "tslint --project .", - "tslint-fix": "tslint --project . --fix", "validate": "npm i && npm run lint && npm run test && npm run build" }, "author": "Ionic Team",