* [lint] use strict etc

This commit is contained in:
Riceball LEE 2017-09-18 11:22:51 +08:00
parent 4454035b0d
commit 43ddc4d752
1 changed files with 3 additions and 1 deletions

View File

@ -1,7 +1,9 @@
'use strict';
var loadConfig = require('load-config-file');
// loadConfig.register('.json', JSON.parse);
loadConfig.register(['.json', '.js'], function(ctx, opt, file){
loadConfig.register(['.json', '.js'], function(ctx, opt, file) {
return require(file);
});