fix 3
This commit is contained in:
@@ -153,7 +153,7 @@
|
|||||||
"error",
|
"error",
|
||||||
"$this"
|
"$this"
|
||||||
],
|
],
|
||||||
"eol-last": "error",
|
"eol-last": "warn",
|
||||||
"func-names": "error",
|
"func-names": "error",
|
||||||
"func-name-matching": "error",
|
"func-name-matching": "error",
|
||||||
"func-style": [
|
"func-style": [
|
||||||
@@ -203,7 +203,7 @@
|
|||||||
],
|
],
|
||||||
"no-new-object": "error",
|
"no-new-object": "error",
|
||||||
"no-spaced-func": "error",
|
"no-spaced-func": "error",
|
||||||
"no-trailing-spaces": "error",
|
"no-trailing-spaces": "warn",
|
||||||
"no-unneeded-ternary": "error",
|
"no-unneeded-ternary": "error",
|
||||||
"no-whitespace-before-property": "error",
|
"no-whitespace-before-property": "error",
|
||||||
"nonblock-statement-body-position": "error",
|
"nonblock-statement-body-position": "error",
|
||||||
@@ -285,6 +285,6 @@
|
|||||||
"message": "Import setImmediate from `node:timers` instead"
|
"message": "Import setImmediate from `node:timers` instead"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"linebreak-style": 0
|
"linebreak-style": "off"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -43,6 +43,7 @@ class BaseMessageComponent {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* @param {BaseMessageComponent|BaseMessageComponentOptions} [data={}] The options for this component
|
* @param {BaseMessageComponent|BaseMessageComponentOptions} [data={}] The options for this component
|
||||||
|
* * @param {MessageComponentOptions} [componentData={}] The raw data for component
|
||||||
*/
|
*/
|
||||||
constructor(data, componentData = {}) {
|
constructor(data, componentData = {}) {
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user