public JavaScriptAnalyzer(IJavaScriptEslintBridgeClient eslintBridgeClient, IRulesProviderFactory rulesProviderFactory, ITelemetryManager telemetryManager, IAnalysisStatusNotifier analysisStatusNotifier, IEslintBridgeAnalyzerFactory eslintBridgeAnalyzerFactory) { this.telemetryManager = telemetryManager; this.analysisStatusNotifier = analysisStatusNotifier; var rulesProvider = rulesProviderFactory.Create("javascript"); eslintBridgeAnalyzer = eslintBridgeAnalyzerFactory.Create(rulesProvider, eslintBridgeClient); }
public TypeScriptAnalyzer(ITypeScriptEslintBridgeClient eslintBridgeClient, IRulesProviderFactory rulesProviderFactory, ITsConfigProvider tsConfigProvider, IAnalysisStatusNotifier analysisStatusNotifier, IEslintBridgeAnalyzerFactory eslintBridgeAnalyzerFactory, ITelemetryManager telemetryManager, ILogger logger) { this.tsConfigProvider = tsConfigProvider; this.analysisStatusNotifier = analysisStatusNotifier; this.telemetryManager = telemetryManager; this.logger = logger; var rulesProvider = rulesProviderFactory.Create("typescript"); eslintBridgeAnalyzer = eslintBridgeAnalyzerFactory.Create(rulesProvider, eslintBridgeClient); }