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

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

import sublime
from SublimeLinter.lint import Linter, util

class Tlec(Linter):

    """Provides an interface to tlec."""

    def cmd(self):
        return [self.executable_path, sublime.packages_path() +  '/Epages6/ep6-tools.py', '--vm', self.view.settings().get('ep6vm')['vm'], '--lint', '--file', self.view.file_name(), '--user', 'root', '--password', 'qwert6', '--ignore-me', '@'];

    executable = 'python3'
    syntax = ('html', 'tle')
    regex = r'(?P<message>.+?) at line (?P<line>\d+)(, near (?P<near>.+?))?'
    error_stream = util.STREAM_BOTH
    tempfile_suffix = 'html'

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

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

import sublime
from SublimeLinter.lint import Linter, util

class Tlec(Linter):

    """Provides an interface to tlec."""

    def cmd(self):
        if self.view.settings().get('ep6vm'):
            return [self.executable_path, sublime.packages_path() +  '/Epages6/ep6-tools.py', '--vm', self.view.settings().get('ep6vm')['vm'], '--lint', '--file', self.view.file_name(), '--user', 'root', '--password', 'qwert6', '--ignore-me', '@'];
        else:
            return []

    executable = 'python3'
    syntax = ('html', 'tle')
    regex = r'(?P<message>.+?) at line (?P<line>\d+)(, near (?P<near>.+?))?'
    error_stream = util.STREAM_BOTH
    tempfile_suffix = 'html'

Check if epages6 settings are configured
Check if epages6 settings are configured
