diff --git a/.eslintrc.json b/.eslintrc.json index 11adec9..3bc3cd6 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -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" } } \ No newline at end of file diff --git a/src/structures/BaseMessageComponent.js b/src/structures/BaseMessageComponent.js index 6bbf3df..f85bd65 100644 --- a/src/structures/BaseMessageComponent.js +++ b/src/structures/BaseMessageComponent.js @@ -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 = {}) { /**