File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11language : python
22python :
3- - " 3.3"
4- # command to install dependencies
3+ - " 3.6"
54install :
65 - pip install flake8
7- - pip install pydocstyle
8- # command to run tests
96script :
107 - flake8 . --max-line-length=120
11- - pydocstyle . --add-ignore=D202
Original file line number Diff line number Diff line change 1- #
2- # coffeelint.py
3- # Linter for SublimeLinter3, a code checking framework for Sublime Text 3
4- #
5- # Written by Aparajita Fishman
6- # Copyright (c) 2015-2016 The SublimeLinterCommunity
7- # Copyright (c) 2013-2014 Aparajita Fishman
8- #
9- # License: MIT
10- #
11-
12- """This module exports the Coffeelint plugin class."""
13-
141from SublimeLinter .lint import NodeLinter , util
152
163
174class Coffeelint (NodeLinter ):
18- """Provides an interface to coffeelint."""
19-
20- syntax = ('coffeescript' , 'coffeescript_literate' )
215 npm_name = 'coffeelint'
226 regex = (
237 r'^<issue line="(?P<line>\d+)"\s*\r?\n'
@@ -27,8 +11,8 @@ class Coffeelint(NodeLinter):
2711 r'(?P<message>[^"\n\r]+)["\n\r]'
2812 )
2913 multiline = True
30-
3114 defaults = {
15+ 'selector' : 'source.coffee' ,
3216 'working_dir' : '${file_path}'
3317 }
3418
You can’t perform that action at this time.
0 commit comments