From 5ba898df7d64eb6b9634953d21a75c61349b7ab2 Mon Sep 17 00:00:00 2001 From: Andras Schmelczer Date: Sun, 23 Feb 2025 10:42:32 +0000 Subject: [PATCH] Set up linting for test-client --- frontend/package.json | 55 ++++++++++++++++++++++--------------------- 1 file changed, 28 insertions(+), 27 deletions(-) diff --git a/frontend/package.json b/frontend/package.json index 60edb303..e0de3e5e 100644 --- a/frontend/package.json +++ b/frontend/package.json @@ -1,29 +1,30 @@ { - "name": "my-workspace", - "private": true, - "workspaces": [ - "sync-client", - "obsidian-plugin" - ], - "prettier": { - "trailingComma": "none", - "tabWidth": 4, - "useTabs": true, - "endOfLine": "lf" - }, - "scripts": { - "build": "npm run build --workspaces", - "dev": "concurrently --kill-others \"npm run dev -w sync-client\" \"npm run dev -w obsidian-plugin\"", - "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)\"", - "update": "ncu -u -ws" - }, - "devDependencies": { - "concurrently": "^9.1.2", - "eslint": "9.20.1", - "eslint-plugin-unused-imports": "^4.1.4", - "npm-check-updates": "^17.1.14", - "prettier": "^3.5.1", - "typescript-eslint": "8.24.1" - } + "name": "my-workspace", + "private": true, + "workspaces": [ + "sync-client", + "obsidian-plugin", + "test-client" + ], + "prettier": { + "trailingComma": "none", + "tabWidth": 4, + "useTabs": true, + "endOfLine": "lf" + }, + "scripts": { + "build": "npm run build --workspaces", + "dev": "concurrently --kill-others \"npm run dev -w sync-client\" \"npm run dev -w obsidian-plugin\"", + "test": "npm run test --workspaces", + "lint": "eslint --fix sync-client obsidian-plugin test-client; prettier --write \"**/*.(ts|scss|json|html)\"", + "update": "ncu -u -ws" + }, + "devDependencies": { + "concurrently": "^9.1.2", + "eslint": "9.20.1", + "eslint-plugin-unused-imports": "^4.1.4", + "npm-check-updates": "^17.1.14", + "prettier": "^3.5.1", + "typescript-eslint": "8.24.1" + } }