Skip to content

Commit f35088a

Browse files
committed
clean up
1 parent 520d0e4 commit f35088a

2 files changed

Lines changed: 2 additions & 22 deletions

File tree

.travis.yml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,7 @@
11
language: python
22
python:
3-
- "3.3"
4-
# command to install dependencies
3+
- "3.6"
54
install:
65
- pip install flake8
7-
- pip install pydocstyle
8-
# command to run tests
96
script:
107
- flake8 . --max-line-length=120
11-
- pydocstyle . --add-ignore=D202

linter.py

Lines changed: 1 addition & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,7 @@
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-
141
from SublimeLinter.lint import NodeLinter, util
152

163

174
class 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

0 commit comments

Comments
 (0)