Skip to content

Build your personal knowledge base with Trilium Notes

chore(scripts): update dev:format scripts to eslint

Panagiotis Papadopoulosd432a56211e1
diff --git a/package.json b/package.json
index fdb888156a..d4a2c2e083 100644
--- a/package.json
+++ b/package.json
@@ -59,8 +59,8 @@
"test:integration-mem-db": "cross-env TRILIUM_INTEGRATION_TEST=memory TRILIUM_PORT=8082 TRILIUM_DATA_DIR=./integration-tests/db nodemon src/main.ts",
"test:integration-mem-db-dev": "cross-env TRILIUM_INTEGRATION_TEST=memory TRILIUM_PORT=8082 TRILIUM_ENV=dev TRILIUM_DATA_DIR=./integration-tests/db nodemon src/main.ts",
"dev:watch-dist": "tsx ./bin/watch-dist.ts",
- "dev:format-check": "dprint check",
- "dev:format-fix": "dprint fmt",
+ "dev:format-check": "eslint -c eslint.format.config.js .",
+ "dev:format-fix": "eslint -c eslint.format.config.js . --fix",
"dev:linter-check": "eslint .",
"dev:linter-fix": "eslint . --fix",
"chore:update-build-info": "tsx bin/update-build-info.ts",