1 | const props = { |
||
2 | |||
3 | checkStorage: function(key){ |
||
4 | if (localStorage.getItem(key).length == 0 ) { |
||
5 | return false; |
||
6 | }else{ |
||
7 | return true; |
||
8 | } |
||
9 | }, |
||
10 | |||
11 | addStorage: function(key, value){ |
||
0 ignored issues
–
show
|
|||
12 | |||
13 | } |
||
14 | |||
15 | |||
16 | |||
17 | } |
||
18 | |||
19 | export default props; |
This check looks for parameters in functions that are not used in the function body and are not followed by other parameters which are used inside the function.