Total Complexity | 0 |
Complexity/F | 0 |
Lines of Code | 7 |
Function Count | 0 |
Duplicated Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | const sourceFolderContext = require.context('../test', true, /\.js/); |
||
2 | const componentsContext = require.context('../src/', true, /\.js/); |
||
3 | |||
4 | sourceFolderContext.keys().forEach(sourceFolderContext); |
||
5 | componentsContext.keys().forEach(componentsContext); |
||
6 | |||
7 | module.exports = context; |
||
|
|||
8 |
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.