ESLint additional rules (#4186)
* Add eslint rule for consistent block padding * Fix padding consistency issues * Eslint test for duplicate imports * Eslint closing bracket location * Fix eslint jsx closing bracket * missed a file * Formatting * Manual overrides for auto * Manual overrides for auto * More minor auto-override manual adjustments
This commit is contained in:
@@ -25,7 +25,6 @@ import { sha3 } from '~/api/util/sha3';
|
||||
// Adapted from https://github.com/kvhnuke/etherwallet/blob/mercury/app/scripts/myetherwallet.js
|
||||
|
||||
export class Signer {
|
||||
|
||||
static fromJson (json, password) {
|
||||
return Signer
|
||||
.getSeed(json, password)
|
||||
@@ -98,5 +97,4 @@ export class Signer {
|
||||
tx.sign(this.seed);
|
||||
return inHex(tx.serialize().toString('hex'));
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -17,7 +17,6 @@
|
||||
import solc from 'solc/browser-wrapper';
|
||||
|
||||
export default class SolidityUtils {
|
||||
|
||||
static compile (data, compiler) {
|
||||
const { sourcecode, build, optimize, files } = data;
|
||||
|
||||
|
||||
@@ -25,7 +25,6 @@ import WalletAbi from '~/contracts/abi/wallet.json';
|
||||
const _cachedWalletLookup = {};
|
||||
|
||||
export default class WalletsUtils {
|
||||
|
||||
static getCallArgs (api, options, values = []) {
|
||||
const walletContract = new Contract(api, WalletAbi);
|
||||
|
||||
@@ -255,5 +254,4 @@ export default class WalletsUtils {
|
||||
return transactions;
|
||||
});
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user