Created
February 11, 2020 00:43
-
-
Save devster31/0703dcdd268235da145cb218aedf7145 to your computer and use it in GitHub Desktop.
yamllint Visual Studio Code task
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Show hidden characters
{ | |
// See https://go.microsoft.com/fwlink/?LinkId=733558 | |
// for the documentation about the tasks.json format | |
"version": "2.0.0", | |
"tasks": [ | |
{ | |
"label": "yamllint", | |
"type": "shell", | |
"command": "/usr/local/bin/yamllint", | |
"args": [ | |
"-f", | |
"parsable", | |
"." | |
], | |
"presentation": { | |
"echo": true, | |
"reveal": "always", | |
"focus": false, | |
"panel": "dedicated", | |
"showReuseMessage": true, | |
"clear": true | |
}, | |
"problemMatcher":{ | |
"pattern":[ | |
{ | |
"regexp": "^(.*):([0-9]+):([0-9]+): \\[(error|warning)\\] ((.*) \\((.*)\\))$", | |
"file": 1, | |
"line": 2, | |
"column": 3, | |
"severity": 4, | |
"message": 5 | |
} | |
] | |
} | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment