From 5e715765d9d1205dd83f5514d080e45055e04bd8 Mon Sep 17 00:00:00 2001 From: Valere Date: Tue, 30 Dec 2025 18:17:07 +0100 Subject: [PATCH] fix: un-needed tsdoc script --- .eslintrc.cjs | 12 +++++++++--- package.json | 3 +-- src/utils/errors.ts | 5 ----- 3 files changed, 10 insertions(+), 10 deletions(-) diff --git a/.eslintrc.cjs b/.eslintrc.cjs index 2cd63d63..11116ed2 100644 --- a/.eslintrc.cjs +++ b/.eslintrc.cjs @@ -83,7 +83,13 @@ module.exports = { }, }, { - files: ["**/*.test.ts", "**/*.test.tsx", "**/test.ts", "**/test.tsx", "**/test-**"], + files: [ + "**/*.test.ts", + "**/*.test.tsx", + "**/test.ts", + "**/test.tsx", + "**/test-**", + ], rules: { "jsdoc/no-types": "off", "jsdoc/empty-tags": "off", @@ -91,8 +97,8 @@ module.exports = { "jsdoc/check-values": "off", "jsdoc/check-param-names": "off", "jsdoc/require-param-description": "off", - } - } + }, + }, ], settings: { react: { diff --git a/package.json b/package.json index e5b57444..336dd5d7 100644 --- a/package.json +++ b/package.json @@ -18,12 +18,11 @@ "serve": "vite preview", "prettier:check": "prettier -c .", "prettier:format": "prettier -w .", - "lint": "yarn lint:types && yarn lint:eslint && yarn lint:knip && yarn lint:tsdoc", + "lint": "yarn lint:types && yarn lint:eslint && yarn lint:knip", "lint:eslint": "eslint --max-warnings 0 src playwright", "lint:eslint-fix": "eslint --max-warnings 0 src playwright --fix", "lint:knip": "knip", "lint:types": "tsc", - "lint:tsdoc": "eslint --ext .ts,.tsx src", "i18n": "i18next", "i18n:check": "i18next --fail-on-warnings --fail-on-update", "test": "vitest", diff --git a/src/utils/errors.ts b/src/utils/errors.ts index 3ac2527a..cddf90de 100644 --- a/src/utils/errors.ts +++ b/src/utils/errors.ts @@ -86,7 +86,6 @@ export class MatrixRTCTransportMissingError extends ElementCallError { * Error indicating that the connection to the call was lost and could not be re-established. */ export class ConnectionLostError extends ElementCallError { - public constructor() { super( t("error.connection_lost"), @@ -102,7 +101,6 @@ export class ConnectionLostError extends ElementCallError { * operation to fail. */ export class MembershipManagerError extends ElementCallError { - /** * Creates an instance of MembershipManagerError. * @@ -123,7 +121,6 @@ export class MembershipManagerError extends ElementCallError { * Error indicating that end-to-end encryption is not supported in the current environment. */ export class E2EENotSupportedError extends ElementCallError { - public constructor() { super( t("error.e2ee_unsupported"), @@ -138,7 +135,6 @@ export class E2EENotSupportedError extends ElementCallError { * Error indicating an unknown issue occurred during a call operation. */ export class UnknownCallError extends ElementCallError { - /** * Creates an instance of UnknownCallError. * @param error - The underlying error that caused the unknown issue. @@ -179,7 +175,6 @@ export class FailToGetOpenIdToken extends ElementCallError { * Error indicating a failure to start publishing on a LiveKit connection. */ export class FailToStartLivekitConnection extends ElementCallError { - /** * Creates an instance of FailToStartLivekitConnection. * @param e - An optional error message providing additional context.