Skip to content

Commit

Permalink
Show warnings instead not errors, update gif, add .editorconfig
Browse files Browse the repository at this point in the history
  • Loading branch information
i-akhmadullin committed Dec 30, 2013
1 parent 418bc3b commit b40d5b4
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 1 deletion.
12 changes: 12 additions & 0 deletions .editorconfig
@@ -0,0 +1,12 @@
# editorconfig.org
root = true

[*]
indent_style = space
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true

[*.md]
trim_trailing_whitespace = false
Binary file modified demo.gif
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 2 additions & 1 deletion linter.py
Expand Up @@ -23,7 +23,8 @@ class Jscs(Linter):
regex = (
r'.+?\<error line=\"(?P<line>\d+)\" '
r'column=\"(?P<col>\d+)\" '
r'severity=\"(?P<error>error)\" '
# jscs always reports with error severity; show as warning
r'severity=\"(?P<warning>error)\" '
r'message=\"(?P<message>.+)\" source'
)
multiline = True
Expand Down

0 comments on commit b40d5b4

Please sign in to comment.