Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions pythonx/lints/coffee/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# -*- coding: utf-8 -*-

from .coffeelint import CoffeeLint # noqa
21 changes: 21 additions & 0 deletions pythonx/lints/coffee/coffeelint.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# -*- coding: utf-8 -*-

from validator import Validator


class CoffeeLint(Validator):
__filetype__ = "coffee"

stdin = True
checker = "coffeelint"
args = "--stdin --reporter csv"
regex = r"""
.+?,
(?P<lnum>\d+),
(?P<col>\d*),
(
(?P<error>error)
|
(?P<warning>warn)
),
(?P<text>.*)"""