fix: un-needed tsdoc script

This commit is contained in:
Valere
2025-12-30 18:17:07 +01:00
parent da55d84bde
commit 5e715765d9
3 changed files with 10 additions and 10 deletions

View File

@@ -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: { rules: {
"jsdoc/no-types": "off", "jsdoc/no-types": "off",
"jsdoc/empty-tags": "off", "jsdoc/empty-tags": "off",
@@ -91,8 +97,8 @@ module.exports = {
"jsdoc/check-values": "off", "jsdoc/check-values": "off",
"jsdoc/check-param-names": "off", "jsdoc/check-param-names": "off",
"jsdoc/require-param-description": "off", "jsdoc/require-param-description": "off",
} },
} },
], ],
settings: { settings: {
react: { react: {

View File

@@ -18,12 +18,11 @@
"serve": "vite preview", "serve": "vite preview",
"prettier:check": "prettier -c .", "prettier:check": "prettier -c .",
"prettier:format": "prettier -w .", "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": "eslint --max-warnings 0 src playwright",
"lint:eslint-fix": "eslint --max-warnings 0 src playwright --fix", "lint:eslint-fix": "eslint --max-warnings 0 src playwright --fix",
"lint:knip": "knip", "lint:knip": "knip",
"lint:types": "tsc", "lint:types": "tsc",
"lint:tsdoc": "eslint --ext .ts,.tsx src",
"i18n": "i18next", "i18n": "i18next",
"i18n:check": "i18next --fail-on-warnings --fail-on-update", "i18n:check": "i18next --fail-on-warnings --fail-on-update",
"test": "vitest", "test": "vitest",

View File

@@ -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. * Error indicating that the connection to the call was lost and could not be re-established.
*/ */
export class ConnectionLostError extends ElementCallError { export class ConnectionLostError extends ElementCallError {
public constructor() { public constructor() {
super( super(
t("error.connection_lost"), t("error.connection_lost"),
@@ -102,7 +101,6 @@ export class ConnectionLostError extends ElementCallError {
* operation to fail. * operation to fail.
*/ */
export class MembershipManagerError extends ElementCallError { export class MembershipManagerError extends ElementCallError {
/** /**
* Creates an instance of MembershipManagerError. * 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. * Error indicating that end-to-end encryption is not supported in the current environment.
*/ */
export class E2EENotSupportedError extends ElementCallError { export class E2EENotSupportedError extends ElementCallError {
public constructor() { public constructor() {
super( super(
t("error.e2ee_unsupported"), t("error.e2ee_unsupported"),
@@ -138,7 +135,6 @@ export class E2EENotSupportedError extends ElementCallError {
* Error indicating an unknown issue occurred during a call operation. * Error indicating an unknown issue occurred during a call operation.
*/ */
export class UnknownCallError extends ElementCallError { export class UnknownCallError extends ElementCallError {
/** /**
* Creates an instance of UnknownCallError. * Creates an instance of UnknownCallError.
* @param error - The underlying error that caused the unknown issue. * @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. * Error indicating a failure to start publishing on a LiveKit connection.
*/ */
export class FailToStartLivekitConnection extends ElementCallError { export class FailToStartLivekitConnection extends ElementCallError {
/** /**
* Creates an instance of FailToStartLivekitConnection. * Creates an instance of FailToStartLivekitConnection.
* @param e - An optional error message providing additional context. * @param e - An optional error message providing additional context.