remix-lib linting done

pull/861/head
aniket-engg 4 years ago
parent 2a98b37783
commit d749c578d1
  1. 8
      libs/remix-lib/.eslintrc
  2. 1
      libs/remix-lib/src/util.ts

@ -1,13 +1,9 @@
{
"extends": "../../.eslintrc",
"rules": {
"@typescript-eslint/no-var-requires": "off",
"@typescript-eslint/no-empty-function": "off",
"@typescript-eslint/no-unused-vars": "off",
"@typescript-eslint/no-this-alias": "off",
"standard/no-callback-literal": "off",
"camelcase": "off",
"no-unused-vars": "off"
"no-unused-vars": "off",
"dot-notation": "off"
},
"env": {
"browser": true,

@ -163,6 +163,7 @@ export function buildCallPath (index, rootCall) {
* @param {String} value - value to sha3
* @return {Object} - return sha3ied value
*/
// eslint-disable-next-line camelcase
export function sha3_256 (value) {
if (typeof value === 'string' && value.indexOf('0x') !== 0) {
value = '0x' + value

Loading…
Cancel
Save