Example #1
0
        private void RunJsCodeStyle()
        {
            LintReporter.Reset();            // TODO: Why?

            foreach (string file in files)
            {
                var runner = new LintReporter(new JsCodeStyleCompiler(), WESettings.Instance.JavaScript, file);
                runner.RunLinterAsync().DontWait("linting " + file);
            }
        }
Example #2
0
        private void RunJsHint()
        {
            LintReporter.Reset();            // TODO: Why?

            foreach (string file in files)
            {
                JavaScriptLintReporter runner = new JavaScriptLintReporter(new JsHintCompiler(), file);
                runner.RunLinterAsync().DoNotWait("linting " + file);
            }
        }
Example #3
0
        private void RunTsLint()
        {
            LintReporter.Reset();            // TODO: Why?

            foreach (string file in files)
            {
                var runner = new LintReporter(new TsLintCompiler(), WESettings.Instance.TypeScript, file);
                runner.RunLinterAsync().DoNotWait("linting " + file);
            }
        }