def run(self):
        s = sublime.load_settings(SETTINGS_FILE)

        file_path = self.window.active_view().file_name()
        file_name = os.path.basename(file_path)

        self.debug = s.get('debug', False)
        self.buffered_data = ''
        self.file_path = file_path
        self.file_name = file_name
        self.is_running = True
        self.tests_panel_showed = False
        self.ignored_error_count = 0
        self.ignore_errors = s.get('ignore_errors', [])
        self.use_node_jslint = s.get('use_node_jslint', False)

        self.init_tests_panel()

        if (self.use_node_jslint):
            cmd = 'jslint ' + s.get('node_jslint_options', '') + ' "' + file_path + '"'
        else:
            if len(s.get('jslint_jar', '')) > 0:
                jslint_jar = s.get('jslint_jar')
            else:
                jslint_jar = sublime.packages_path() + '/sublime-jslint/jslint4java-2.0.5-SNAPSHOT.jar'
            cmd = 'java -jar "' + jslint_jar + '" ' + s.get('jslint_options', '') + ' "' + file_path + '"'

        AsyncProcess(cmd, self)
        StatusProcess('Starting JSLint for file ' + file_name, self)

        JsLintEventListener.disabled = True
dataset/ETHPy150Open fbzhong/sublime-jslint/jslint.py/JslintCommand.run/original