Skip to content

Commit

Permalink
Merge pull request #12 from Edditoria/pr-no-effect-error
Browse files Browse the repository at this point in the history
Remove lines that cause error in Sublime Text console
  • Loading branch information
braver authored Mar 29, 2020
2 parents d03ab45 + 42285f9 commit fd9072d
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 7 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
language: python
python:
- "3.3"
- "3.8"
# command to install dependencies
install:
- pip install flake8
Expand Down
6 changes: 0 additions & 6 deletions linter.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,17 +16,11 @@
class PugLint(NodeLinter):
"""Provides an interface to pug-lint."""

npm_name = 'pug-lint'
cmd = 'pug-lint @ *'
executable = None
version_args = '--version'
version_re = r'(?P<version>\d+\.\d+\.\d+)'
version_requirement = '>= 2.1.1'
regex = r'^.+?:(?P<line>\d+)(:(?P<col>\d+) | )(?P<message>.+)'
multiline = False
tempfile_suffix = 'pug'
error_stream = util.STREAM_BOTH
config_file = ('--config', '.pug-lintrc', '.pug-lint.json', '.jade-lintrc', '.jade-lint.json', '~')
defaults = {
'selector': 'text.pug, source.pypug, text.jade',
'--reporter=': 'inline'
Expand Down

0 comments on commit fd9072d

Please sign in to comment.