From b09b7705e66d2d52a2431da0fab5f6152768189f Mon Sep 17 00:00:00 2001 From: glat Date: Thu, 21 Nov 2019 15:05:43 +0100 Subject: [PATCH] Added base configuration for formatters --- config.json | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/config.json b/config.json index 9bf5cfc..a4cc437 100644 --- a/config.json +++ b/config.json @@ -1,4 +1,24 @@ { + "prettier": { + "enabled": false, + "additionalArguments": "", + "fileExtensions": "", + "executable": "prettier.cmd", + "arguments": "--write \"{filePath}\"", + "stdInArguments": "--stdin-filepath \"{filePath}\"", + "installationType": "local", + "toolType": "formatter" + }, + "beautify": { + "enabled": false, + "additionalArguments": "", + "fileExtensions": "", + "executable": "beautify.cmd", + "arguments": "--file \"{filePath}\" --replace", + "stdInArguments": "", + "installationType": "local", + "toolType": "formatter" + }, "eslint": { "enabled": false, "additionalArguments": "", @@ -7,6 +27,7 @@ "arguments": "\"{filePath}\" -f json", "stdInArguments": "--stdin --stdin-filename=\"{filePath}\" -f json", "installationType": "local", + "toolType": "linter", "ruleHelpUrl": "https://eslint.org/docs/rules/{ruleId}", "resultsSelector": "$[0].messages", "sourceSelector": "source", @@ -28,6 +49,7 @@ "arguments": "\"{filePath}\" -f json", "stdInArguments": "--stdin-filename=\"{filePath}\" -f json", "installationType": "local", + "toolType": "linter", "ruleHelpUrl": "https://stylelint.io/user-guide/rules/{ruleId}", "resultsSelector": "$[0].warnings", "sourceSelector": "", @@ -49,6 +71,7 @@ "arguments": "\"{filePath}\" --format=json", "stdInArguments": "", "installationType": "local", + "toolType": "linter", "ruleHelpUrl": "", "resultsSelector": "$.messages", "sourceSelector": "evidence", @@ -70,6 +93,7 @@ "arguments": "\"{filePath}\" --json", "stdInArguments": "", "installationType": "local", + "toolType": "linter", "ruleHelpUrl": "", "resultsSelector": "$[1]", "sourceSelector": "evidence", @@ -91,6 +115,7 @@ "arguments": "\"{filePath}\" --reporter \"%APPDATA%\\npm\\node_modules\\jshint-json\\json.js\"", "stdInArguments": "", "installationType": "local", + "toolType": "linter", "ruleHelpUrl": "", "resultsSelector": "$.data[0].functions", "sourceSelector": "", @@ -112,6 +137,7 @@ "arguments": "\"{filePath}\" -v -f json", "stdInArguments": "", "installationType": "local", + "toolType": "linter", "ruleHelpUrl": "", "resultsSelector": "$[0].messages", "sourceSelector": "",