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

from SublimeLinter.lint import NodeLinter, util


class Polylint(NodeLinter):

    """Provides an interface to polylint."""

    syntax = ('html')
    cmd = 'polylint --only-inputs -i'
    executable = None
    version_args = '--version'
    version_re = r'(?P<version>\d+\.\d+\.\d+)'
    version_requirement = '>= 1.0'
    regex = r'^[^:]*:(?P<line>\d+):(?P<col>\d+)\r?\n\s*(?P<message>.+)$'
    multiline = True
    line_col_base = (1, 1)
    tempfile_suffix = '-'
    error_stream = util.STREAM_BOTH
    selectors = {}
    word_re = None
    defaults = {}
    inline_settings = None
    inline_overrides = None
    comment_re = r'\s*/[/*]'

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

from SublimeLinter.lint import NodeLinter, util


class Polylint(NodeLinter):

    """Provides an interface to polylint."""

    syntax = ('html')
    cmd = 'polylint --no-recursion -i'
    executable = None
    version_args = '--version'
    version_re = r'(?P<version>\d+\.\d+\.\d+)'
    version_requirement = '>= 1.0'
    regex = r'^[^:]*:(?P<line>\d+):(?P<col>\d+)\r?\n\s*(?P<message>.+)$'
    multiline = True
    line_col_base = (1, 1)
    tempfile_suffix = '-'
    error_stream = util.STREAM_BOTH
    selectors = {}
    word_re = None
    defaults = {}
    inline_settings = None
    inline_overrides = None
    comment_re = r'\s*/[/*]'
Use proper flag for single file error reporting
Use proper flag for single file error reporting

"inputs-only" was changed to "no-recursion" before getting merged

  
  """This module exports the Polylint plugin class."""
  
  from SublimeLinter.lint import NodeLinter, util
  
  
  class Polylint(NodeLinter):
  
      """Provides an interface to polylint."""
  
      syntax = ('html')
-     cmd = 'polylint --only-inputs -i'
+     cmd = 'polylint --no-recursion -i'
      executable = None
      version_args = '--version'
      version_re = r'(?P<version>\d+\.\d+\.\d+)'
      version_requirement = '>= 1.0'
      regex = r'^[^:]*:(?P<line>\d+):(?P<col>\d+)\r?\n\s*(?P<message>.+)$'
      multiline = True
      line_col_base = (1, 1)
      tempfile_suffix = '-'
      error_stream = util.STREAM_BOTH
      selectors = {}
      word_re = None
      defaults = {}
      inline_settings = None
      inline_overrides = None
      comment_re = r'\s*/[/*]'
Use proper flag for single file error reporting
## Code Before:

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

from SublimeLinter.lint import NodeLinter, util


class Polylint(NodeLinter):

    """Provides an interface to polylint."""

    syntax = ('html')
    cmd = 'polylint --only-inputs -i'
    executable = None
    version_args = '--version'
    version_re = r'(?P<version>\d+\.\d+\.\d+)'
    version_requirement = '>= 1.0'
    regex = r'^[^:]*:(?P<line>\d+):(?P<col>\d+)\r?\n\s*(?P<message>.+)$'
    multiline = True
    line_col_base = (1, 1)
    tempfile_suffix = '-'
    error_stream = util.STREAM_BOTH
    selectors = {}
    word_re = None
    defaults = {}
    inline_settings = None
    inline_overrides = None
    comment_re = r'\s*/[/*]'
## Instruction:
Use proper flag for single file error reporting
## Code After:

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

from SublimeLinter.lint import NodeLinter, util


class Polylint(NodeLinter):

    """Provides an interface to polylint."""

    syntax = ('html')
    cmd = 'polylint --no-recursion -i'
    executable = None
    version_args = '--version'
    version_re = r'(?P<version>\d+\.\d+\.\d+)'
    version_requirement = '>= 1.0'
    regex = r'^[^:]*:(?P<line>\d+):(?P<col>\d+)\r?\n\s*(?P<message>.+)$'
    multiline = True
    line_col_base = (1, 1)
    tempfile_suffix = '-'
    error_stream = util.STREAM_BOTH
    selectors = {}
    word_re = None
    defaults = {}
    inline_settings = None
    inline_overrides = None
    comment_re = r'\s*/[/*]'