@tsslint/cli 1.0.9 → 1.0.10

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 +0 -4
  2. package/package.json +4 -4
package/index.js CHANGED
@@ -135,10 +135,6 @@ const glob = require("glob");
135
135
  }
136
136
  }
137
137
  else {
138
- const sourceFile = languageService.getProgram()?.getSourceFile(fileName);
139
- if (!sourceFile) {
140
- throw new Error(`No source file found for ${fileName}`);
141
- }
142
138
  const diagnostics = linter.lint(fileName);
143
139
  for (const diagnostic of diagnostics) {
144
140
  let output = ts.formatDiagnosticsWithColorAndContext([diagnostic], {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tsslint/cli",
3
- "version": "1.0.9",
3
+ "version": "1.0.10",
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.0.9",
20
- "@tsslint/core": "1.0.9",
19
+ "@tsslint/config": "1.0.10",
20
+ "@tsslint/core": "1.0.10",
21
21
  "glob": "^10.4.1"
22
22
  },
23
23
  "peerDependencies": {
24
24
  "typescript": "*"
25
25
  },
26
- "gitHead": "8e531c2a5ad3589cdcb0be75d0cacee0e4184c85"
26
+ "gitHead": "075fc3bf0058d41b4131345ab3634ad059562223"
27
27
  }