diff --git a/package.json b/package.json index 2b02623e9..37d0da80e 100644 --- a/package.json +++ b/package.json @@ -41,7 +41,7 @@ "eslint": "eslint .", "jscs": "yarn grunt jscs", "jshint": "yarn grunt jshint", - "lint": "yarn eslint && yarn grunt lint && yarn tslint", + "lint": "yarn format --list-different && yarn eslint && yarn grunt lint && yarn tslint", "tslint": "tslint --config tslint.json --format stylish --project .", "format": "prettier --write \"*.js\" \"js/**/*.js\" \"ts/**/*.{ts,tsx}\" \"test/**/*.js\"", "transpile": "tsc",