From e6dfb79810a55f4cdffd3ba8dce2f3253824573e Mon Sep 17 00:00:00 2001 From: Oliver Schneider Date: Wed, 30 Mar 2016 12:33:31 +0200 Subject: [PATCH] also allow a possible end of a lint-span --- lib/build.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/build.js b/lib/build.js index 553872c0..10f766a4 100644 --- a/lib/build.js +++ b/lib/build.js @@ -301,7 +301,7 @@ export default { filePath: path.isAbsolute(match.file) ? match.file : path.join(atom.project.getPaths()[0], match.file), range: [ [ (match.line || 1) - 1, (match.col || 1) - 1 ], - [ (match.line || 1) - 1, (match.col || 1) - 1] + [ (match.line_end || match.line || 1) - 1, (match.col_end || match.col || 1) - 1 ] ] })));