Add linting rules

This commit is contained in:
Zaid Abdulla committed 2018-12-27 01:21:16 -08:00
1 parent 75a5a42296
commit c702003c32
43 files changed
+705 -576

No files matched your search

+1 -3
View File
@@ -3,7 +3,7 @@
const fs = require("fs");
const configFile = JSON.parse(fs.readFileSync("./config.json"));
let config;
const config = loadConfig(configFile);
function getClientConfig() {
return Object.assign({}, config, {
@@ -33,6 +33,4 @@ function loadConfig(conf, root = {}) {
return root;
}
config = loadConfig(configFile);
module.exports = Object.assign({}, config, { getClientConfig });