lint(curly): consistent use of curly brackets in codebase (#3584)
This commit is contained in:
1 parent
9ae3d9f769
commit
5d435424e2
113 files changed
+1501
-1056
No files matched your search
@@ -25,10 +25,18 @@ function convertToInt(input) {
|
||||
function padFour(input) {
|
||||
const l = input.length;
|
||||
|
||||
if (l == 0) return '0000';
|
||||
if (l == 1) return '000' + input;
|
||||
if (l == 2) return '00' + input;
|
||||
if (l == 3) return '0' + input;
|
||||
if (l === 0) {
|
||||
return '0000';
|
||||
}
|
||||
if (l === 1) {
|
||||
return '000' + input;
|
||||
}
|
||||
if (l === 2) {
|
||||
return '00' + input;
|
||||
}
|
||||
if (l === 3) {
|
||||
return '0' + input;
|
||||
}
|
||||
|
||||
return input;
|
||||
}
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import 'isomorphic-base64'
|
||||
import 'isomorphic-base64';
|
||||
import user from '../user';
|
||||
|
||||
/**
|
||||
|
||||
Reference in new issue
Block a user