Set up linting for test-client

This commit is contained in:
Andras Schmelczer 2025-02-23 10:42:32 +00:00
commit 5ba898df7d
No known key found for this signature in database
GPG key ID: FC8F2C3D3D1A718C

View file

@ -3,7 +3,8 @@
"private": true, "private": true,
"workspaces": [ "workspaces": [
"sync-client", "sync-client",
"obsidian-plugin" "obsidian-plugin",
"test-client"
], ],
"prettier": { "prettier": {
"trailingComma": "none", "trailingComma": "none",
@ -15,7 +16,7 @@
"build": "npm run build --workspaces", "build": "npm run build --workspaces",
"dev": "concurrently --kill-others \"npm run dev -w sync-client\" \"npm run dev -w obsidian-plugin\"", "dev": "concurrently --kill-others \"npm run dev -w sync-client\" \"npm run dev -w obsidian-plugin\"",
"test": "npm run test --workspaces", "test": "npm run test --workspaces",
"lint": "eslint --fix sync-client obsidian-plugin; prettier --write \"sync-client/**/*.(ts|scss|json|html)\" \"obsidian-plugin/**/*.(ts|scss|json|html)\"", "lint": "eslint --fix sync-client obsidian-plugin test-client; prettier --write \"**/*.(ts|scss|json|html)\"",
"update": "ncu -u -ws" "update": "ncu -u -ws"
}, },
"devDependencies": { "devDependencies": {