Dont use the prettier based config for verifying the syntax

This commit is contained in:
rejas 2020-08-07 09:57:06 +02:00
parent 9d14d3e5b7
commit 056b66a764

View File

@ -12,7 +12,6 @@ const path = require("path");
const fs = require("fs");
const rootPath = path.resolve(__dirname + "/../");
const config = require(rootPath + "/.eslintrc.json");
const Log = require(rootPath + "/js/logger.js");
const Utils = require(rootPath + "/js/utils.js");
@ -54,7 +53,7 @@ function checkConfigFile() {
if (err) {
throw err;
}
const messages = linter.verify(data, config);
const messages = linter.verify(data);
if (messages.length === 0) {
Log.log("Your configuration file doesn't contain syntax errors :)");
return true;