From 7a4110893181cdb41674e06bc5ffa5cb446ac48a Mon Sep 17 00:00:00 2001 From: Joachim Van Herwegen Date: Thu, 1 Oct 2020 13:50:10 +0200 Subject: [PATCH] build: Add eslint cache --- .gitignore | 2 ++ package.json | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index 77853db5c..9dbdcde65 100644 --- a/.gitignore +++ b/.gitignore @@ -6,6 +6,8 @@ coverage *.js.map *.d.ts +.eslintcache + !.eslintrc.js !test/eslintrc.js !jest.config.js diff --git a/package.json b/package.json index 1bc8a9c5d..cd992fd84 100644 --- a/package.json +++ b/package.json @@ -38,7 +38,7 @@ "build:ts": "tsc", "build:components": "componentsjs-generator -s src", "coveralls": "jest --coverage && cat ./coverage/lcov.info | coveralls", - "lint": "eslint . --ext .ts", + "lint": "eslint . --ext .ts --cache", "prepare": "npm run build", "start": "node ./bin/server.js -p 3000", "test": "jest",