mirror of
https://github.com/sstent/sublime-text-3.git
synced 2026-01-25 22:51:41 +00:00
backing up sublime settings
This commit is contained in:
13
Packages/User/linters/css.py
Normal file
13
Packages/User/linters/css.py
Normal file
@@ -0,0 +1,13 @@
|
||||
from lint import Linter
|
||||
|
||||
class CSS(Linter):
|
||||
language = 'css'
|
||||
cmd = ('csslint',)
|
||||
regex = (
|
||||
r'^\d+: (?P<type>(error|warning)) at line (?P<line>\d+), col (?P<col>\d+)$\W'
|
||||
r'^(?P<error>.*)$'
|
||||
)
|
||||
multiline = True
|
||||
|
||||
def run(self, cmd, code):
|
||||
return self.tmpfile(cmd, code, suffix='.css')
|
||||
Reference in New Issue
Block a user