From 056b66a7641bf114c6a90400ba640a83b6917372 Mon Sep 17 00:00:00 2001 From: rejas Date: Fri, 7 Aug 2020 09:57:06 +0200 Subject: [PATCH] Dont use the prettier based config for verifying the syntax --- js/check_config.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/js/check_config.js b/js/check_config.js index cfd56824..058a6d6f 100644 --- a/js/check_config.js +++ b/js/check_config.js @@ -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;