diff --git a/pythonx/lints/coffee/__init__.py b/pythonx/lints/coffee/__init__.py new file mode 100644 index 0000000..cf156ed --- /dev/null +++ b/pythonx/lints/coffee/__init__.py @@ -0,0 +1,3 @@ +# -*- coding: utf-8 -*- + +from .coffeelint import CoffeeLint # noqa diff --git a/pythonx/lints/coffee/coffeelint.py b/pythonx/lints/coffee/coffeelint.py new file mode 100644 index 0000000..4423ec1 --- /dev/null +++ b/pythonx/lints/coffee/coffeelint.py @@ -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\d+), + (?P\d*), + ( + (?Perror) + | + (?Pwarn) + ), + (?P.*)"""