fix 4
This commit is contained in:
@@ -41,7 +41,7 @@
|
||||
"singleQuote": true,
|
||||
"quoteProps": "as-needed",
|
||||
"trailingComma": "all",
|
||||
"endOfLine": "auto",
|
||||
"endOfLine": "lf",
|
||||
"arrowParens": "avoid"
|
||||
}
|
||||
],
|
||||
@@ -153,7 +153,7 @@
|
||||
"error",
|
||||
"$this"
|
||||
],
|
||||
"eol-last": "warn",
|
||||
"eol-last": "error",
|
||||
"func-names": "error",
|
||||
"func-name-matching": "error",
|
||||
"func-style": [
|
||||
@@ -203,7 +203,7 @@
|
||||
],
|
||||
"no-new-object": "error",
|
||||
"no-spaced-func": "error",
|
||||
"no-trailing-spaces": "warn",
|
||||
"no-trailing-spaces": "error",
|
||||
"no-unneeded-ternary": "error",
|
||||
"no-whitespace-before-property": "error",
|
||||
"nonblock-statement-body-position": "error",
|
||||
|
||||
@@ -2,6 +2,6 @@
|
||||
"singleQuote": true,
|
||||
"printWidth": 120,
|
||||
"trailingComma": "all",
|
||||
"endOfLine": "auto",
|
||||
"endOfLine": "lf",
|
||||
"arrowParens": "avoid"
|
||||
}
|
||||
|
||||
@@ -4,7 +4,6 @@ const BaseMessageComponent = require('./BaseMessageComponent');
|
||||
const UnfurledMediaItem = require('./UnfurledMediaItem');
|
||||
const { MessageComponentTypes } = require('../util/Constants');
|
||||
|
||||
|
||||
class FileComponent extends BaseMessageComponent {
|
||||
/**
|
||||
* @property {UnfurledMediaItem} [file] This unfurled media item is unique in that it only supports attachment references using the attachment://<filename> syntax
|
||||
@@ -30,7 +29,6 @@ class FileComponent extends BaseMessageComponent {
|
||||
this.spoiler = data.spoiler ?? false;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* @returns {APIFileComponent}
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user