fix trailingComma

This commit is contained in:
Alexey 2021-07-06 13:51:06 +03:00
parent 4a63b3b7fb
commit 29021a8028
2 changed files with 4 additions and 3 deletions

@ -2,5 +2,6 @@
"semi": false,
"arrowParens": "always",
"singleQuote": true,
"printWidth": 110
"printWidth": 110,
"trailingComma": "all"
}

@ -49,7 +49,7 @@ class MerkleTree {
this._layers[level - 1][i * 2],
i * 2 + 1 < this._layers[level - 1].length
? this._layers[level - 1][i * 2 + 1]
: this._zeros[level - 1]
: this._zeros[level - 1],
)
}
}
@ -102,7 +102,7 @@ class MerkleTree {
this._layers[level - 1][index * 2],
index * 2 + 1 < this._layers[level - 1].length
? this._layers[level - 1][index * 2 + 1]
: this._zeros[level - 1]
: this._zeros[level - 1],
)
}
}