File tree Expand file tree Collapse file tree 3 files changed +3
-32
lines changed Expand file tree Collapse file tree 3 files changed +3
-32
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change 11language : python
22python :
33 - " 3.6"
4- # command to install dependencies
54install :
65 - pip install flake8
7- # command to run tests
86script :
97 - flake8 . --max-line-length=120
Original file line number Diff line number Diff line change 1- #
2- # linter.py
3- # Linter for SublimeLinter3, a code checking framework for Sublime Text 3
4- #
5- # Written by Aparajita Fishman
6- # Copyright (c) 2015-2017 The SublimeLinter Community
7- # Copyright (c) 2013-2014 Aparajita Fishman
8- #
9- # License: MIT
10- #
11-
12- """This module exports the HtmlTidy plugin class."""
13-
141from SublimeLinter .lint import Linter , util
152
163
174class HtmlTidy (Linter ):
18- """Provides an interface to tidy."""
19-
20- syntax = 'html'
215 regex = r'^line (?P<line>\d+) column (?P<col>\d+) - (?:(?P<error>Error)|(?P<warning>Warning)): (?P<message>.+)'
226 error_stream = util .STREAM_STDERR
7+ defaults = {
8+ 'selector' : 'text.html.basic'
9+ }
2310
2411 def cmd (self ):
2512 """Return a tuple with the command line to execute."""
You can’t perform that action at this time.
0 commit comments