@tsslint/core 1.2.3 → 1.2.4
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 +1 -3
- package/package.json +3 -3
package/index.js
CHANGED
|
@@ -204,6 +204,7 @@ function createLinter(ctx, config, withStack) {
|
|
|
204
204
|
}
|
|
205
205
|
}
|
|
206
206
|
}
|
|
207
|
+
fixes.set(error, []);
|
|
207
208
|
diagnostics.push(error);
|
|
208
209
|
currentIssues++;
|
|
209
210
|
return {
|
|
@@ -217,9 +218,6 @@ function createLinter(ctx, config, withStack) {
|
|
|
217
218
|
},
|
|
218
219
|
withFix(title, getEdits) {
|
|
219
220
|
currentFixes++;
|
|
220
|
-
if (!fixes.has(error)) {
|
|
221
|
-
fixes.set(error, []);
|
|
222
|
-
}
|
|
223
221
|
fixes.get(error).push(({ title, getEdits }));
|
|
224
222
|
return this;
|
|
225
223
|
},
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tsslint/core",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.4",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"files": [
|
|
6
6
|
"**/*.js",
|
|
@@ -12,11 +12,11 @@
|
|
|
12
12
|
"directory": "packages/core"
|
|
13
13
|
},
|
|
14
14
|
"dependencies": {
|
|
15
|
-
"@tsslint/types": "1.2.
|
|
15
|
+
"@tsslint/types": "1.2.4",
|
|
16
16
|
"error-stack-parser": "^2.1.4",
|
|
17
17
|
"esbuild": ">=0.17.0",
|
|
18
18
|
"minimatch": "^10.0.1",
|
|
19
19
|
"source-map-support": "^0.5.21"
|
|
20
20
|
},
|
|
21
|
-
"gitHead": "
|
|
21
|
+
"gitHead": "818bc257e90e431ca8988477862238c70a4757ff"
|
|
22
22
|
}
|