|
1 | 1 | {
|
2 | 2 | "name": "tsl-problem-matcher",
|
3 | 3 | "displayName": "TypeScript + Webpack Problem Matchers",
|
4 |
| - "description": "Provides problem matchers for TypeScript projects using Webpack with ts-loader and/or tslint-loader", |
5 |
| - "version": "0.0.4", |
| 4 | + "description": "Provides problem matchers for TypeScript projects using Webpack with ts-loader, fork-ts-checker-webpack-plugin with or without eslint, and/or tslint-loader", |
| 5 | + "version": "0.1.0", |
6 | 6 | "author": {
|
7 | 7 | "name": "Eric Amodio",
|
8 | 8 | "email": "eamodio@gmail.com"
|
|
42 | 42 | "severity": "error",
|
43 | 43 | "pattern": [
|
44 | 44 | {
|
45 |
| - "regexp": "\\[tsl\\] ERROR in (.*)?\\((\\d+),(\\d+)\\)", |
46 |
| - "file": 1, |
47 |
| - "line": 2, |
48 |
| - "column": 3 |
| 45 | + "regexp": "\\[tsl\\] (ERROR|WARNING) in (.*)?\\((\\d+),(\\d+)\\)", |
| 46 | + "severity": 1, |
| 47 | + "file": 2, |
| 48 | + "line": 3, |
| 49 | + "column": 4 |
49 | 50 | },
|
50 | 51 | {
|
51 | 52 | "regexp": "\\s*TS\\d+:\\s*(.*)",
|
52 | 53 | "message": 1
|
53 | 54 | }
|
54 | 55 | ]
|
55 | 56 | },
|
| 57 | + { |
| 58 | + "base": "$ts-webpack", |
| 59 | + "name": "ts-webpack-watch", |
| 60 | + "label": "TypeScript + Webpack Watch Problem Matcher (ts-loader)", |
| 61 | + "applyTo": "closedDocuments", |
| 62 | + "fileLocation": "absolute", |
| 63 | + "background": { |
| 64 | + "activeOnStart": true, |
| 65 | + "beginsPattern": { |
| 66 | + "regexp": "Compilation (.*?)starting…" |
| 67 | + }, |
| 68 | + "endsPattern": { |
| 69 | + "regexp": "Compilation (.*?)finished" |
| 70 | + } |
| 71 | + } |
| 72 | + }, |
| 73 | + { |
| 74 | + "name": "ts-checker-webpack", |
| 75 | + "label": "TypeScript + Webpack Problem Matcher (ts-loader + fork-ts-checker-webpack-plugin)", |
| 76 | + "owner": "typescript", |
| 77 | + "source": "ts", |
| 78 | + "applyTo": "closedDocuments", |
| 79 | + "fileLocation": "absolute", |
| 80 | + "severity": "error", |
| 81 | + "pattern": [ |
| 82 | + { |
| 83 | + "regexp": "(ERROR|WARNING) in (.*)?\\((\\d+),(\\d+)\\)", |
| 84 | + "severity": 1, |
| 85 | + "file": 2, |
| 86 | + "line": 3, |
| 87 | + "column": 4 |
| 88 | + }, |
| 89 | + { |
| 90 | + "regexp": "\\s*TS\\d+:\\s*(.*)", |
| 91 | + "message": 1 |
| 92 | + } |
| 93 | + ] |
| 94 | + }, |
| 95 | + { |
| 96 | + "base": "$ts-checker-webpack", |
| 97 | + "name": "ts-checker-webpack-watch", |
| 98 | + "label": "TypeScript + Webpack Watch Problem Matcher (ts-loader + fork-ts-checker-webpack-plugin)", |
| 99 | + "applyTo": "closedDocuments", |
| 100 | + "fileLocation": "absolute", |
| 101 | + "background": { |
| 102 | + "activeOnStart": true, |
| 103 | + "beginsPattern": { |
| 104 | + "regexp": "Compilation (.*?)starting…" |
| 105 | + }, |
| 106 | + "endsPattern": { |
| 107 | + "regexp": "Compilation (.*?)finished" |
| 108 | + } |
| 109 | + } |
| 110 | + }, |
| 111 | + { |
| 112 | + "name": "ts-checker-eslint-webpack", |
| 113 | + "label": "TypeScript + Webpack ESLint Problem Matcher (ts-loader + fork-ts-checker-webpack-plugin w/ eslint)", |
| 114 | + "owner": "typescript", |
| 115 | + "source": "eslint", |
| 116 | + "applyTo": "closedDocuments", |
| 117 | + "fileLocation": "absolute", |
| 118 | + "severity": "warning", |
| 119 | + "pattern": [ |
| 120 | + { |
| 121 | + "regexp": "(ERROR|WARNING) in (.*)?\\((\\d+),(\\d+)\\)", |
| 122 | + "severity": 1, |
| 123 | + "file": 2, |
| 124 | + "line": 3, |
| 125 | + "column": 4 |
| 126 | + }, |
| 127 | + { |
| 128 | + "regexp": "\\s*(?:@typscript-eslint/)?.+?:\\s*(.*)", |
| 129 | + "message": 1 |
| 130 | + } |
| 131 | + ] |
| 132 | + }, |
| 133 | + { |
| 134 | + "base": "$ts-checker-eslint-webpack", |
| 135 | + "name": "ts-checker-eslint-webpack-watch", |
| 136 | + "label": "TypeScript + Webpack ESLint Watch Problem Matcher (ts-loader + fork-ts-checker-webpack-plugin w/ eslint)", |
| 137 | + "applyTo": "closedDocuments", |
| 138 | + "fileLocation": "absolute", |
| 139 | + "background": { |
| 140 | + "activeOnStart": true, |
| 141 | + "beginsPattern": { |
| 142 | + "regexp": "Compilation (.*?)starting…" |
| 143 | + }, |
| 144 | + "endsPattern": { |
| 145 | + "regexp": "Compilation (.*?)finished" |
| 146 | + } |
| 147 | + } |
| 148 | + }, |
56 | 149 | {
|
57 | 150 | "name": "tslint-webpack",
|
58 |
| - "label": "TypeScript + Webpack Lint Problem Matcher (tslint-loader)", |
| 151 | + "label": "TypeScript + Webpack TSLint Problem Matcher (tslint-loader)", |
59 | 152 | "owner": "typescript",
|
60 | 153 | "source": "tslint",
|
61 | 154 | "applyTo": "closedDocuments",
|
|
81 | 174 | }
|
82 | 175 | ]
|
83 | 176 | },
|
84 |
| - { |
85 |
| - "base": "$ts-webpack", |
86 |
| - "name": "ts-webpack-watch", |
87 |
| - "label": "TypeScript + Webpack Watch Problem Matcher (ts-loader)", |
88 |
| - "applyTo": "closedDocuments", |
89 |
| - "fileLocation": "absolute", |
90 |
| - "background": { |
91 |
| - "activeOnStart": true, |
92 |
| - "beginsPattern": { |
93 |
| - "regexp": "Compilation (.*?)starting…" |
94 |
| - }, |
95 |
| - "endsPattern": { |
96 |
| - "regexp": "Compilation (.*?)finished" |
97 |
| - } |
98 |
| - } |
99 |
| - }, |
100 | 177 | {
|
101 | 178 | "base": "$tslint-webpack",
|
102 | 179 | "name": "tslint-webpack-watch",
|
103 |
| - "label": "TypeScript + Webpack Lint Watch Problem Matcher (tslint-loader)", |
| 180 | + "label": "TypeScript + Webpack TSLint Watch Problem Matcher (tslint-loader)", |
104 | 181 | "applyTo": "closedDocuments",
|
105 | 182 | "fileLocation": [
|
106 | 183 | "relative",
|
|
0 commit comments