Run eslint over files, see what gets fixed automatically and clean up

This commit is contained in:
rejas 2020-07-27 14:24:30 +02:00
parent f4eae72c48
commit 43bcf4ab98
11 changed files with 72 additions and 24 deletions

View file

@ -16,7 +16,7 @@ const config = require(rootPath + "/.eslintrc.json");
const Log = require(rootPath + "/js/logger.js");
const Utils = require(rootPath + "/js/utils.js");
/* getConfigFile()
/**
* Return string with path of configuration file
* Check if set by environment variable MM_CONFIG_FILE
*/
@ -29,6 +29,9 @@ function getConfigFile() {
return configFileName;
}
/**
*
*/
function checkConfigFile() {
const configFileName = getConfigFile();