From 877026978a790f7362659b3cbe7d325be5bdc674 Mon Sep 17 00:00:00 2001 From: RunDevelopment Date: Mon, 21 Jun 2021 16:15:43 +0200 Subject: [PATCH] ESLint: Use cache --- .gitignore | 1 + package.json | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index 3b16b7d30c..019ed62e9a 100755 --- a/.gitignore +++ b/.gitignore @@ -2,3 +2,4 @@ hide-*.js node_modules .idea/ .DS_Store +.eslintcache diff --git a/package.json b/package.json index f71afddaf2..8ac2e085a9 100755 --- a/package.json +++ b/package.json @@ -7,8 +7,8 @@ "scripts": { "build": "gulp", "start": "http-server -c-1", - "lint": "eslint .", - "lint:fix": "eslint . --fix", + "lint": "eslint . --cache", + "lint:fix": "npm run lint -- --fix", "lint:ci": "eslint . --max-warnings 0", "test:aliases": "mocha tests/aliases-test.js", "test:core": "mocha tests/core/**/*.js",