From 9b57f46ccc65196333895e266b5ee04d49cf7840 Mon Sep 17 00:00:00 2001 From: Michael Telatynski <7t3chguy@gmail.com> Date: Thu, 8 May 2025 12:23:13 +0100 Subject: [PATCH] Standardise lint/type scripts between modules/packages --- modules/opendesk/element-web/package.json | 3 ++- modules/restricted-guests/synapse/package.json | 6 +++--- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/modules/opendesk/element-web/package.json b/modules/opendesk/element-web/package.json index e74754c4ce..5495993d53 100644 --- a/modules/opendesk/element-web/package.json +++ b/modules/opendesk/element-web/package.json @@ -8,7 +8,8 @@ ], "scripts": { "prepare": "vite build", - "lint": "tsc --noEmit", + "lint:types": "tsc --noEmit", + "lint:codestyle": "echo 'handled by lint:eslint'", "test": "echo no tests yet" }, "devDependencies": { diff --git a/modules/restricted-guests/synapse/package.json b/modules/restricted-guests/synapse/package.json index 3968ba3a87..327cfbef97 100644 --- a/modules/restricted-guests/synapse/package.json +++ b/modules/restricted-guests/synapse/package.json @@ -11,9 +11,9 @@ "build": "echo \"Nothing to build\"", "docker:build": "docker build -t element-hq/synapse-guest-module -f Dockerfile .", "tsc": "echo \"Nothing to tsc\"", - "lint": "yarn types:py && yarn lint:py", - "types:py": "./scripts/run_in_venv.sh tox -e check_types", - "lint:py": "./scripts/run_in_venv.sh tox -e check_codestyle", + "lint": "yarn lint:types && yarn lint:codestyle", + "lint:types": "./scripts/run_in_venv.sh tox -e check_types", + "lint:codestyle": "./scripts/run_in_venv.sh tox -e check_codestyle", "lint:fix": "./scripts/run_in_venv.sh tox -e fix_codestyle", "test": "./scripts/run_in_venv.sh tox -e py", "depcheck": "echo \"Nothing to check\"",