Skip to content

Commit

Permalink
bug in colum space
Browse files Browse the repository at this point in the history
  • Loading branch information
Ava Thorn committed Sep 2, 2021
1 parent c6adbd0 commit fb8f2df
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@ node_modules
original_linter.js
__pycache__
site/
.flowlint.json
4 changes: 2 additions & 2 deletions flowlint/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@ const jsonFormatter = (...args) => {
results.push({
file: issue.source,
start_line: issue.range.start.line,
start_column: issue.range.start.column,
start_column: issue.range.start.character,
end_line: issue.range.end.line,
end_column: issue.range.end.column,
end_column: issue.range.end.character,
title: issue.code,
message: `Path ${issue.path}\n\n${issue.message}`,
annotation_level: issue.severity == 0 ? "error" : issue.severity == 1 ? "warning" : "notice"
Expand Down

0 comments on commit fb8f2df

Please sign in to comment.