Add linting rules

This commit is contained in:
Zaid Abdulla committed 2018-12-27 01:21:16 -08:00
1 parent 75a5a42296
commit c702003c32
43 files changed
+705 -576

No files matched your search

+3 -2
View File
@@ -7,7 +7,7 @@ import * as notifications from "./notifications";
const userMenu = {
view: () => {
if (window.username)
if (window.username) {
return m(
"div.user-menu",
window.username,
@@ -32,7 +32,7 @@ const userMenu = {
"Log out"
)
);
else
} else {
return m(
"div.user-menu",
m(
@@ -43,6 +43,7 @@ const userMenu = {
"Log in"
)
);
}
}
};