Skip to content

Build your personal knowledge base with Trilium Notes

chore(scripts): add dev:linter-check and dev:linter-fix

Panagiotis Papadopoulos0d66f9d4eb76
diff --git a/package.json b/package.json
index e5a492dae2..ba0670e892 100644
--- a/package.json
+++ b/package.json
@@ -57,6 +57,8 @@
"dev:watch-dist": "tsx ./bin/watch-dist.ts",
"dev:prettier-check": "prettier . --check",
"dev:prettier-fix": "prettier . --write",
+ "dev:linter-check": "eslint . --cache",
+ "dev:linter-fix": "eslint . --fix",
"chore:update-build-info": "tsx bin/update-build-info.ts",
"chore:ci-update-nightly-version": "tsx ./bin/update-nightly-version.ts",
"chore:generate-document": "cross-env nodemon ./bin/generate_document.ts 1000",