@tsslint/cli 1.0.9 → 1.0.11
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.
- package/index.js +0 -4
- 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.
|
|
3
|
+
"version": "1.0.11",
|
|
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.
|
|
20
|
-
"@tsslint/core": "1.0.
|
|
19
|
+
"@tsslint/config": "1.0.11",
|
|
20
|
+
"@tsslint/core": "1.0.11",
|
|
21
21
|
"glob": "^10.4.1"
|
|
22
22
|
},
|
|
23
23
|
"peerDependencies": {
|
|
24
24
|
"typescript": "*"
|
|
25
25
|
},
|
|
26
|
-
"gitHead": "
|
|
26
|
+
"gitHead": "5797507a1ef19b82bafa6f43cdf412905723374f"
|
|
27
27
|
}
|