Добавлена настройка генерации деталировки
This commit is contained in:
@@ -20,5 +20,10 @@ namespace SQLLinter.Core.Interfaces
|
||||
/// Список сторонних плагинов.
|
||||
/// </summary>
|
||||
List<string> Plugins { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Генерировать деталировку ошибки.
|
||||
/// </summary>
|
||||
bool GenerateDetails { get; set; }
|
||||
}
|
||||
}
|
||||
|
||||
@@ -4,5 +4,5 @@ namespace SQLLinter.Core.Interfaces;
|
||||
|
||||
public interface IRuleVisitor
|
||||
{
|
||||
void VisitRules(string path, IEnumerable<IRuleException> igoredRules, Stream sqlFileStream);
|
||||
void VisitRules(string path, IEnumerable<IRuleException> igoredRules, Stream sqlFileStream, bool generateDetails);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user