From c52ace4813041d19866a3eae2f0e37e148eb908d Mon Sep 17 00:00:00 2001 From: legendecas Date: Sat, 12 Dec 2020 01:15:04 +0800 Subject: [PATCH] script: fix complains that js files are not supported on npm run lint:fix (#852) --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 343c1b624..45813a3d2 100644 --- a/package.json +++ b/package.json @@ -304,7 +304,7 @@ "dev:incremental": "node test", "doc": "doxygen doc/Doxyfile", "lint": "node tools/clang-format.js", - "lint:fix": "git-clang-format" + "lint:fix": "git-clang-format '*.h', '*.cc'" }, "pre-commit": "lint", "version": "3.0.2",