Skip to content

Commit

Permalink
Added base configuration for formatters
Browse files Browse the repository at this point in the history
  • Loading branch information
glat authored Nov 21, 2019
1 parent add91d7 commit b09b770
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions config.json
Original file line number Diff line number Diff line change
@@ -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": "",
Expand All @@ -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",
Expand All @@ -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": "",
Expand All @@ -49,6 +71,7 @@
"arguments": "\"{filePath}\" --format=json",
"stdInArguments": "",
"installationType": "local",
"toolType": "linter",
"ruleHelpUrl": "",
"resultsSelector": "$.messages",
"sourceSelector": "evidence",
Expand All @@ -70,6 +93,7 @@
"arguments": "\"{filePath}\" --json",
"stdInArguments": "",
"installationType": "local",
"toolType": "linter",
"ruleHelpUrl": "",
"resultsSelector": "$[1]",
"sourceSelector": "evidence",
Expand All @@ -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": "",
Expand All @@ -112,6 +137,7 @@
"arguments": "\"{filePath}\" -v -f json",
"stdInArguments": "",
"installationType": "local",
"toolType": "linter",
"ruleHelpUrl": "",
"resultsSelector": "$[0].messages",
"sourceSelector": "",
Expand Down

0 comments on commit b09b770

Please sign in to comment.