@tsslint/typescript-plugin 1.0.0 → 1.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/index.js +4 -1
  2. package/package.json +4 -4
package/index.js CHANGED
@@ -44,7 +44,7 @@ function decorateLanguageService(ts, tsconfig, info) {
44
44
  }
45
45
  if (config?.debug) {
46
46
  result.push({
47
- category: ts.DiagnosticCategory.Warning,
47
+ category: ts.DiagnosticCategory.Suggestion,
48
48
  source: 'tsslint',
49
49
  code: 'debug-info',
50
50
  messageText: JSON.stringify({
@@ -174,6 +174,9 @@ function decorateLanguageService(ts, tsconfig, info) {
174
174
  length: error.location.lineText.length,
175
175
  }];
176
176
  }
177
+ else {
178
+ diag.messageText += `\n\n${error.text}`;
179
+ }
177
180
  return diag;
178
181
  });
179
182
  if (config) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tsslint/typescript-plugin",
3
- "version": "1.0.0",
3
+ "version": "1.0.2",
4
4
  "license": "MIT",
5
5
  "files": [
6
6
  "**/*.js",
@@ -12,10 +12,10 @@
12
12
  "directory": "packages/typescript-plugin"
13
13
  },
14
14
  "dependencies": {
15
- "@tsslint/core": "1.0.0"
15
+ "@tsslint/core": "1.0.2"
16
16
  },
17
17
  "devDependencies": {
18
- "@tsslint/config": "1.0.0"
18
+ "@tsslint/config": "1.0.2"
19
19
  },
20
- "gitHead": "8379aacab6f7902af180056ea32b1efd18376918"
20
+ "gitHead": "e9bbdd4eba295de6bcb663e02c305f2b48893d6f"
21
21
  }