#
# linter.py
# Linter for SublimeLinter3, a code checking framework for Sublime Text 3
#
# Written by Dan Flettre
# Copyright (c) 2015 Dan Flettre
#
# License: MIT
#

"""This module exports the Semistandard plugin class."""

from SublimeLinter.lint import NodeLinter, util


class Semistandard(NodeLinter):

    """Provides an interface to semistandard."""

    syntax = ('javascript', 'html', 'javascriptnext', 'javascript 6to5')
    cmd = 'semistandard'
    version_args = '--version'
    version_re = r'(?P<version>\d+\.\d+\.\d+)'
    version_requirement = '>= 2.3.1'
    regex = r'^\s.+:(?P<line>\d+):(?P<col>\d+):(?P<message>.+)'
    selectors = {
        'html': 'source.js.embedded.html'
    }

#
# linter.py
# Linter for SublimeLinter3, a code checking framework for Sublime Text 3
#
# Written by Dan Flettre
# Copyright (c) 2015 Dan Flettre
#
# License: MIT
#

"""This module exports the Semistandard plugin class."""

from SublimeLinter.lint import NodeLinter


class Semistandard(NodeLinter):

    """Provides an interface to semistandard."""

    syntax = ('javascript', 'html', 'javascriptnext', 'javascript 6to5')
    cmd = 'semistandard'
    version_args = '--version'
    version_re = r'(?P<version>\d+\.\d+\.\d+)'
    version_requirement = '>= 2.3.1'
    regex = r'^\s.+:(?P<line>\d+):(?P<col>\d+):(?P<message>.+)'
    selectors = {
        'html': 'source.js.embedded.html'
    }

make flake8 happy