interface/components/TxHistory/index.js
Function render
has 34 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
render() {
const txs = this.props.txs;
const txList = txs.map(tx => {
return (
Function updatePendingTxs
has 26 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
updatePendingTxs() {
this.unsub();
const updateTxs = () => {
const txs = this.props.txs;
_.each(txs, (tx, index) => {
Parsing error: 'import' and 'export' may appear only with 'sourceType: module' Open
Open
import React, { Component } from 'react';
- Read upRead up
- Exclude checks
For more information visit Source: http://eslint.org/docs/rules/