using StellaOps.Scanner.Analyzers.Lang.Plugin; using System; namespace StellaOps.Scanner.Analyzers.Lang.Bun; /// /// Restart-time plugin that exposes the Bun language analyzer. /// public sealed class BunAnalyzerPlugin : ILanguageAnalyzerPlugin { public string Name => "StellaOps.Scanner.Analyzers.Lang.Bun"; public bool IsAvailable(IServiceProvider services) => services is not null; public ILanguageAnalyzer CreateAnalyzer(IServiceProvider services) { ArgumentNullException.ThrowIfNull(services); return new BunLanguageAnalyzer(); } }