pablorc/snaaake

View on GitHub
www/js/reducers/game.js

Summary

Maintainability
A
1 hr
Test Coverage

Function game has 26 lines of code (exceeds 25 allowed). Consider refactoring.
Open

const game = (state = initialState(), action) => {
  switch(action.type) {
    case 'RESTART':
      return {
        ...initialState(state),
Severity: Minor
Found in www/js/reducers/game.js - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status