Skip to content

Commit 0429224

Browse files
committed
Minor style update
1 parent 98c0cfc commit 0429224

2 files changed

Lines changed: 3 additions & 4 deletions

File tree

.eslintrc

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@
1616
],
1717
"array-callback-return": "error",
1818
"arrow-body-style": "error",
19-
"arrow-parens": "error",
2019
"arrow-spacing": "error",
2120
"block-scoped-var": "off",
2221
"block-spacing": "error",
@@ -123,7 +122,7 @@
123122
"no-extend-native": "error",
124123
"no-extra-bind": "error",
125124
"no-extra-label": "error",
126-
"no-extra-parens": "error",
125+
"no-extra-parens": "warn",
127126
"no-floating-decimal": "error",
128127
"no-global-assign": "error",
129128
"no-implicit-coercion": "error",
@@ -195,7 +194,7 @@
195194
"no-unneeded-ternary": "error",
196195
"no-unsafe-negation": "error",
197196
"no-unused-expressions": "error",
198-
"no-use-before-define": "error",
197+
"no-use-before-define": "warn",
199198
"no-useless-call": "error",
200199
"no-useless-computed-key": "error",
201200
"no-useless-concat": "error",

public/js/lib/common/login.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ export function setLoginState(bool, id) {
3232

3333
export function checkLoginStateChanged() {
3434
if (getLoginState() != lastLoginState || getUserId() != lastUserId) {
35-
if(loginStateChangeEvent) {
35+
if (loginStateChangeEvent) {
3636
loginStateChangeEvent();
3737
}
3838
return true;

0 commit comments

Comments
 (0)