diff options
Diffstat (limited to '.vscode')
-rw-r--r-- | .vscode/tasks.json | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/.vscode/tasks.json b/.vscode/tasks.json new file mode 100644 index 0000000..f6545ad --- /dev/null +++ b/.vscode/tasks.json | |||
@@ -0,0 +1,38 @@ | |||
1 | { | ||
2 | "version": "2.0.0", | ||
3 | "runner": "terminal", | ||
4 | "command": "npm", | ||
5 | "tasks": [ | ||
6 | { | ||
7 | "label": "lint", | ||
8 | "command": "npm", | ||
9 | "args": [ | ||
10 | "run", | ||
11 | "livelint" | ||
12 | ], | ||
13 | "type": "shell", | ||
14 | "isBackground": true, | ||
15 | "problemMatcher": [ | ||
16 | { | ||
17 | "owner": "sass-lint", | ||
18 | "fileLocation": "relative", | ||
19 | "pattern": [ | ||
20 | { | ||
21 | "regexp": "^(.*)\\((\\d+),(\\d+)\\): (info|warning|error) (.*)$", | ||
22 | "file": 1, | ||
23 | "line": 2, | ||
24 | "column": 3, | ||
25 | "severity": 4, | ||
26 | "message": 5 | ||
27 | } | ||
28 | ], | ||
29 | "background": { | ||
30 | "activeOnStart": false, | ||
31 | "beginsPattern": "^BEGIN LINT", | ||
32 | "endsPattern": "^END LINT" | ||
33 | } | ||
34 | } | ||
35 | ] | ||
36 | } | ||
37 | ] | ||
38 | } \ No newline at end of file | ||