@tsslint/core 0.0.8 → 0.0.9
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 +4 -4
- package/package.json +3 -3
package/index.js
CHANGED
|
@@ -65,7 +65,7 @@ function createLinter(ctx, config, withStack) {
|
|
|
65
65
|
file: sourceFile,
|
|
66
66
|
start,
|
|
67
67
|
length: end - start,
|
|
68
|
-
source: '
|
|
68
|
+
source: 'tsl',
|
|
69
69
|
relatedInformation: [],
|
|
70
70
|
};
|
|
71
71
|
const stacks = trace ? ErrorStackParser.parse(new Error()) : [];
|
|
@@ -142,11 +142,11 @@ function createLinter(ctx, config, withStack) {
|
|
|
142
142
|
(start >= fix.start && start <= fix.end) ||
|
|
143
143
|
(end >= fix.start && end <= fix.end)) {
|
|
144
144
|
result.push({
|
|
145
|
-
fixName: `
|
|
145
|
+
fixName: `tsl: ${fix.title}`,
|
|
146
146
|
description: fix.title,
|
|
147
147
|
changes: fix.getEdits(),
|
|
148
|
-
fixId: '
|
|
149
|
-
fixAllDescription: 'Fix all
|
|
148
|
+
fixId: 'tsl',
|
|
149
|
+
fixAllDescription: 'Fix all TSL errors'
|
|
150
150
|
});
|
|
151
151
|
}
|
|
152
152
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tsslint/core",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.9",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"files": [
|
|
6
6
|
"**/*.js",
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
"source-map-support": "^0.5.19"
|
|
17
17
|
},
|
|
18
18
|
"devDependencies": {
|
|
19
|
-
"@tsslint/config": "0.0.
|
|
19
|
+
"@tsslint/config": "0.0.9"
|
|
20
20
|
},
|
|
21
|
-
"gitHead": "
|
|
21
|
+
"gitHead": "ee84b80bac5dab5fad732e4265e2164c6a0724a6"
|
|
22
22
|
}
|