ethereum/mist

View on GitHub
modules/core/settings/reducer.js

Summary

Maintainability
A
2 hrs
Test Coverage

Function settings has 53 lines of code (exceeds 25 allowed). Consider refactoring.
Open

const settings = (state = initialState, action) => {
  switch (action.type) {
    case '[MAIN]:DB:INIT':
      return Object.assign({}, state, { dbInit: true });
    case '[MAIN]:DB:SYNC_TO_BACKEND':
Severity: Major
Found in modules/core/settings/reducer.js - About 2 hrs to fix

    Parsing error: 'import' and 'export' may appear only with 'sourceType: module'
    Open

    export const SwarmState = {
    Severity: Minor
    Found in modules/core/settings/reducer.js by eslint

    For more information visit Source: http://eslint.org/docs/rules/

    There are no issues that match your filters.

    Category
    Status