Skip to content
This repository has been archived by the owner on Jun 14, 2021. It is now read-only.

Commit

Permalink
Fixes #15
Browse files Browse the repository at this point in the history
  • Loading branch information
cfjedimaster committed Feb 4, 2017
1 parent a11c1d5 commit 978739a
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
1 change: 1 addition & 0 deletions README.md
Expand Up @@ -15,6 +15,7 @@ It also uses "jshint.options" and "csslint.options" for script and style tags.

Issues/Updates
=====
[02/04/2017] Fixes a cursor placement issue
[01/03/2017] Updated htmlhint - by @mornir
[01/16/2016] Big update by Peter Scheler to support passing
csslint/jshint options along to htmlhint. This means code
Expand Down
3 changes: 2 additions & 1 deletion main.js
Expand Up @@ -73,6 +73,7 @@ define(function (require) {

for (var i = 0, len = results.length; i < len; i++) {
var messageOb = results[i];
console.log(messageOb);
if (!messageOb.line) {
continue;
}
Expand All @@ -88,7 +89,7 @@ define(function (require) {
result.errors.push({
pos: {
line: messageOb.line - 1,
ch: messageOb.col
ch: messageOb.col - 1
},
message: messageOb.message,
type: type
Expand Down
2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -3,7 +3,7 @@
"title": "HTMLHint",
"description": "Adds HTMLHint support to Brackets.",
"homepage": "https://github.com/cfjedimaster/brackets-htmlhint",
"version": "1.2.3",
"version": "1.2.4",
"author": "Raymond Camden <raymondcamden@gmail.com> (http://www.raymondcamden.com)",
"contributors": [
"Diogo Gomes <dgomes@graphnode.com>",
Expand Down

0 comments on commit 978739a

Please sign in to comment.