Add linting rules
This commit is contained in:
1 parent
75a5a42296
commit
c702003c32
43 files changed
+705
-576
No files matched your search
+1
-3
@@ -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 });
|
||||
Reference in new issue
Block a user