Lint: comma-spacing (error) & comma-dangle (error) (#4200)

Signed-off-by: Sebastian Malton <sebastian@malton.name>
This commit is contained in:
Sebastian Malton authored and GitHub committed 2021-11-02 17:38:20 -04:00
1 parent 02e77afcd1
commit c6dce043a7
406 files changed
+1590 -1580

No files matched your search

@@ -38,7 +38,7 @@ export class Notifications extends React.Component {
notificationsStore.add({
message,
timeout: 2_500,
status: NotificationStatus.OK
status: NotificationStatus.OK,
});
}
@@ -47,14 +47,14 @@ export class Notifications extends React.Component {
message,
timeout: 10_000,
status: NotificationStatus.ERROR,
...customOpts
...customOpts,
});
}
static shortInfo(message: NotificationMessage, customOpts: Partial<Notification> = {}) {
this.info(message, {
timeout: 5_000,
...customOpts
...customOpts,
});
}
@@ -81,7 +81,7 @@ export class Notifications extends React.Component {
}
this.elem.scrollTo({
top: this.elem.scrollHeight,
behavior: "smooth"
behavior: "smooth",
});
}