@tsslint/cli 1.1.2 → 1.1.3

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 +3 -0
  2. package/package.json +4 -4
package/index.js CHANGED
@@ -135,6 +135,9 @@ const glob = require("glob");
135
135
  else {
136
136
  const diagnostics = linter.lint(fileName);
137
137
  for (const diagnostic of diagnostics) {
138
+ if (diagnostic.category === ts.DiagnosticCategory.Suggestion) {
139
+ continue;
140
+ }
138
141
  let output = ts.formatDiagnosticsWithColorAndContext([diagnostic], {
139
142
  getCurrentDirectory: ts.sys.getCurrentDirectory,
140
143
  getCanonicalFileName: ts.sys.useCaseSensitiveFileNames ? x => x : x => x.toLowerCase(),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tsslint/cli",
3
- "version": "1.1.2",
3
+ "version": "1.1.3",
4
4
  "license": "MIT",
5
5
  "bin": {
6
6
  "tsslint": "./bin/tsslint.js"
@@ -16,12 +16,12 @@
16
16
  },
17
17
  "dependencies": {
18
18
  "@clack/prompts": "^0.7.0",
19
- "@tsslint/config": "1.1.2",
20
- "@tsslint/core": "1.1.2",
19
+ "@tsslint/config": "1.1.3",
20
+ "@tsslint/core": "1.1.3",
21
21
  "glob": "^10.4.1"
22
22
  },
23
23
  "peerDependencies": {
24
24
  "typescript": "*"
25
25
  },
26
- "gitHead": "6c266922e32c08743e088c94b560e6980f77255a"
26
+ "gitHead": "2711b634ed851fe9b1dcaad2cf7d7cf1b42871b2"
27
27
  }