From 5c3e3ae8d542d4ecd0df17dc04342702e5b140f6 Mon Sep 17 00:00:00 2001 From: Crawl Date: Tue, 13 Nov 2018 03:53:12 +0100 Subject: [PATCH] chore: add scripts for lint --- package.json | 2 ++ 1 file changed, 2 insertions(+) diff --git a/package.json b/package.json index a78ed3f..d81898a 100644 --- a/package.json +++ b/package.json @@ -18,7 +18,9 @@ "license": "MIT", "main": "./dist/extension", "scripts": { + "prebuild": "yarn lint", "build": "gulp", + "lint": "tslint -p tsconfig.json", "postinstall": "node ./node_modules/vscode/bin/install" }, "activationEvents": [