From 9bd9c8196c735334722221ce2b5fc6fc91dddf49 Mon Sep 17 00:00:00 2001 From: ThatOneCalculator Date: Thu, 4 Jan 2024 13:44:24 -0800 Subject: [PATCH] fix: :hammer: agnostic scripts --- package.json | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/package.json b/package.json index 10ebfc2e..f2f1d597 100644 --- a/package.json +++ b/package.json @@ -8,11 +8,11 @@ "preview": "vite preview", "check": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json", "check:watch": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json --watch", - "lint": "bun eslint", - "lint:types": "bun check", + "lint": "npm run lint:frontend ; npm run lint:types ; npm run lint:backend", + "lint:frontend": "eslint . --fix", + "lint:types": "npm run check", "lint:backend": "pylint backend/", - "eslint": "eslint . --fix", - "format": "bun prettier --plugin-search-dir --write '**/*.{js,ts,svelte,css,md,html,json}'", + "format": "prettier --plugin-search-dir --write '**/*.{js,ts,svelte,css,md,html,json}'", "format:backend": "yapf --recursive backend -p -i" }, "devDependencies": {