You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@echarts.apache.org by wa...@apache.org on 2023/05/14 09:36:27 UTC

[echarts] 02/02: chore: enable eslint cache.

This is an automated email from the ASF dual-hosted git repository.

wangzx pushed a commit to branch fix/graph/edgeLabel-NPE
in repository https://gitbox.apache.org/repos/asf/echarts.git

commit dfd95aa50ac3b0af41817b3a247f10753506fc72
Author: plainheart <yh...@all-my-life.cn>
AuthorDate: Sun May 14 17:35:04 2023 +0800

    chore: enable eslint cache.
---
 package.json | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/package.json b/package.json
index b2ea0f963..b8e805298 100644
--- a/package.json
+++ b/package.json
@@ -58,7 +58,7 @@
     "mktest": "node test/build/mktest.js",
     "mktest:help": "node test/build/mktest.js -h",
     "checktype": "tsc --noEmit",
-    "lint": "npx eslint src/**/*.ts extension-src/**/*.ts",
+    "lint": "npx eslint --cache --cache-location node_modules/.cache/eslint src/**/*.ts extension-src/**/*.ts",
     "lint:fix": "npx eslint --fix src/**/*.ts extension-src/**/*.ts",
     "lint:dist": "echo 'It might take a while. Please wait ...' && npx jshint --config .jshintrc-dist dist/echarts.js"
   },


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org