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

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

from SublimeLinter.lint import Linter


class Bashate(Linter):

    """Provides an interface to bashate."""

    syntax = 'shell-unix-generic'
    cmd = 'bashate'
    regex = (
        r'^(?P<error>[E])\d+: (?P<message>.+): '
        r'\'(?P<near>.+)\'\n - (?P<file>.+) : L(?P<line>\d+)'
    )
    multiline = True
    tempfile_suffix = '-'
    check_version = False

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

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

from SublimeLinter.lint import Linter


class Bashate(Linter):

    """Provides an interface to bashate."""

    syntax = 'shell-unix-generic'
    cmd = 'bashate'
    regex = (
        r'^(?P<error>[E])\d+: (?P<message>.+): '
        r'\'(?P<near>.+)\'\n - (?P<file>.+) : L(?P<line>\d+)'
    )
    multiline = True
    tempfile_suffix = 'sh'
    check_version = False

use an actual suffix which fixes #2