adjust/fix/disable some prettier warnings

This commit is contained in:
TheLastScrub
2024-06-28 19:31:24 -07:00
parent 72602e3ae7
commit e94bb7cdfd
4 changed files with 7 additions and 3 deletions
+2
View File
@@ -42,6 +42,7 @@ export class DGRoll extends Roll {
* true, or the Object of prepared chatData otherwise.
*/
async toMessage(messageData = {}, { rollMode, create = true } = {}) {
// eslint-disable-next-line no-param-reassign
messageData.speaker = ChatMessage.getSpeaker({ actor: this.actor });
return super.toMessage(messageData, {
rollMode: this.options.rollMode || rollMode,
@@ -71,6 +72,7 @@ export class DGPercentileRoll extends DGRoll {
* @param {DeltaGreenItem} [options.item] Optional - The item from which the roll originates.
* @param {DeltaGreenItem} [options.specialTrainingName] Optional - Special training rolls have names that are different from the roll key.
*/
// eslint-disable-next-line default-param-last, no-unused-vars
constructor(formula = "1D100", data = {}, options) {
super("1D100", {}, options);