mirror of
https://github.com/MichMich/MagicMirror.git
synced 2025-06-28 09:42:21 -04:00
Run eslint over files, see what gets fixed automatically and clean up
This commit is contained in:
parent
f4eae72c48
commit
43bcf4ab98
11 changed files with 72 additions and 24 deletions
|
@ -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();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue