Issues (5)

src/js/config.js (1 issue)

Labels
Severity
1 4
import Config from "./core/Config";
2
3
const ConfigInstance = new Config();
4
for (const config in APP_CONFIG) {
0 ignored issues
show
The variable APP_CONFIG seems to be never declared. If this is a global, consider adding a /** global: APP_CONFIG */ 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...
5 2
    if (APP_CONFIG.hasOwnProperty(config)) {
6
        ConfigInstance.set(config, APP_CONFIG[config]);
7
    }
8
}
9
10
export default ConfigInstance;
11