private static string GetErrorMessage(JsHintResult error)
        {
            string message = error.Message;

            if (message == "Missing radix parameter.")
                message = "When using the parseInt function, remember to specify the radix parameter. Example: parseInt('3', 10)";

            return message;
        }
        private ErrorTask CreateTask(string data, JsHintResult error)
        {
            ErrorTask task = new ErrorTask()
            {
                Line = error.Line,
                Column = error.Column,
                ErrorCategory = GetOutputLocation(),
                Category = TaskCategory.Html,
                Document = data,
                Priority = TaskPriority.Low,
                Text = GetErrorMessage(error),
            };

            task.AddHierarchyItem();

            task.Navigate += task_Navigate;
            return task;
        }