Skip to content

Commit 60cd635

Browse files
author
steelbrain
committed
⬆️ Upgrade dist linter file to match source
1 parent c9bc678 commit 60cd635

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

dist/linter.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ var atom_1 = require("atom");
44
exports.provider = {
55
grammarScopes: ['source.ts', 'source.ts.tsx'],
66
scope: 'file',
7+
name: 'TS',
78
lintOnFly: true,
89
lint: function (textEditor) {
910
if (!textEditor.buffer.file
@@ -16,7 +17,7 @@ exports.provider = {
1617
var linterErrors = resp.errors.map(function (err) { return ({
1718
type: "Error",
1819
filePath: filePath,
19-
html: "<span class=\"badge badge-flexible\" style=\"color:rgb(0, 148, 255)\"> TS </span> " + err.message.replace(/\n/g, '<br />'),
20+
text: err.message,
2021
range: new atom_1.Range([err.startPos.line, err.startPos.col], [err.endPos.line, err.endPos.col]),
2122
}); });
2223
return linterErrors;

0 commit comments

Comments
 (0)