GitHub Access Token became invalid

It seems like the GitHub access token used for retrieving details about this repository from GitHub became invalid. This might prevent certain types of inspections from being run (in particular, everything related to pull requests).
Please ask an admin of your repository to re-new the access token on this website.
Completed
Push — master ( 36194c...3c18d9 )
by Benjamin
01:42
created

src/reducers/actionHelpers/plugins/loader.js   A

Complexity

Total Complexity 1
Complexity/F 1

Size

Lines of Code 8
Function Count 1

Duplication

Duplicated Lines 0
Ratio 0 %

Importance

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

1 Function

Rating   Name   Duplication   Size   Complexity  
A loader.js ➔ ??? 0 5 1
1
import { fromJS } from 'immutable';
2
import { generateLastUpdate } from './../../../util/lastUpdate';
3
4
export const setLoading = (state, { stateKey, state: loadingState }) =>
5
    state.setIn([stateKey], fromJS({
6
        isLoading: loadingState,
0 ignored issues
show
Bug introduced by
The variable loadingState seems to be never declared. If this is a global, consider adding a /** global: loadingState */ comment.

This checks looks for references to variables that have not been declared. This is most likey a typographical error or a variable has been renamed.

To learn more about declaring variables in Javascript, see the MDN.

Loading history...
7
        lastUpdate: generateLastUpdate()
8
    }));
9