From 0daccb87859290e51eb35163964e38c54d614cd6 Mon Sep 17 00:00:00 2001 From: Ryan Tharp Date: Wed, 29 Jan 2020 17:01:44 -0800 Subject: [PATCH] cache eslint on `lint` but not `ready` --- package.json | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index dce5b9f64..fadab4274 100644 --- a/package.json +++ b/package.json @@ -41,11 +41,13 @@ "test-node": "mocha --recursive --exit test/app test/modules ts/test libloki/test/node", "test-node-coverage": "nyc --reporter=lcov --reporter=text mocha --recursive test/app test/modules ts/test libloki/test/node", "test-node-coverage-html": "nyc --reporter=lcov --reporter=html mocha --recursive test/a/* */pp test/modules ts/test libloki/test/node", - "eslint": "eslint .", + "eslint": "eslint --cache .", + "eslint-full": "eslint .", "lint": "yarn format --list-different && yarn lint-windows", - "lint-full": "yarn format-full --list-different; yarn lint-windows", + "lint-full": "yarn format-full --list-different; yarn lint-windows-full", "dev-lint": "yarn format --list-different; yarn lint-windows", "lint-windows": "yarn eslint && yarn tslint", + "lint-windows-full": "yarn eslint-full && yarn tslint", "lint-deps": "node ts/util/lint/linter.js", "tslint": "tslint --format stylish --project .", "format": "prettier --write `git ls-files --modified *.{css,js,json,md,scss,ts,tsx}` `git ls-files --modified ./**/*.{css,js,json,md,scss,ts,tsx}`",