This commit is contained in:
tungdo0602
2025-06-30 22:05:20 +07:00
parent 70cd1133f8
commit da07ddabee
2 changed files with 4 additions and 3 deletions

View File

@@ -153,7 +153,7 @@
"error",
"$this"
],
"eol-last": "error",
"eol-last": "warn",
"func-names": "error",
"func-name-matching": "error",
"func-style": [
@@ -203,7 +203,7 @@
],
"no-new-object": "error",
"no-spaced-func": "error",
"no-trailing-spaces": "error",
"no-trailing-spaces": "warn",
"no-unneeded-ternary": "error",
"no-whitespace-before-property": "error",
"nonblock-statement-body-position": "error",
@@ -285,6 +285,6 @@
"message": "Import setImmediate from `node:timers` instead"
}
],
"linebreak-style": 0
"linebreak-style": "off"
}
}

View File

@@ -43,6 +43,7 @@ class BaseMessageComponent {
/**
* @param {BaseMessageComponent|BaseMessageComponentOptions} [data={}] The options for this component
* * @param {MessageComponentOptions} [componentData={}] The raw data for component
*/
constructor(data, componentData = {}) {
/**