ethereum/mist

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

Summary

Maintainability
A
1 hr
Test Coverage

Function ui has 28 lines of code (exceeds 25 allowed). Consider refactoring.
Open

const ui = (state = initialState, action) => {
  switch (action.type) {
    case '[MAIN]:APP_QUIT:SUCCESS':
      return Object.assign({}, state, { appQuit: true });
    case '[MAIN]:WINDOW:OPEN':
Severity: Minor
Found in modules/core/ui/reducer.js - About 1 hr to fix

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

    import uniq from 'lodash/uniq';
    Severity: Minor
    Found in modules/core/ui/reducer.js by eslint

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

    There are no issues that match your filters.

    Category
    Status