Completed
Push — master ( 0967f1...338ec3 )
by Junior
49s queued 26s
created

src/modules/index.js   A

Complexity

Total Complexity 2
Complexity/F 2

Size

Lines of Code 23
Function Count 1

Duplication

Duplicated Lines 0
Ratio 0 %

Importance

Changes 4
Bugs 0 Features 1
Metric Value
cc 1
wmc 2
c 4
b 0
f 1
nc 1
mnd 1
bc 0
fnc 1
dl 0
loc 23
rs 10
bpm 0
cpm 2
noi 0

1 Function

Rating   Name   Duplication   Size   Complexity  
A index.js ➔ ??? 0 1 1
1
import { createStore, combineReducers, compose, applyMiddleware } from 'redux'
2
import promiseMiddleware from 'redux-promise'
3
import storeSynchronize from 'redux-localstore'
4
5
import Github from './Github'
6
import Login from './Login'
7
8
const rootReducer = combineReducers({
9
  Github,
10
  Login
11
})
12
13
const devTools = window.devToolsExtension ? window.devToolsExtension() : f => f
14
15
const store = createStore(
16
  rootReducer,
17
  {},
18
  compose(applyMiddleware(promiseMiddleware), devTools)
19
)
20
21
storeSynchronize(store)
22
23
export default store
24