UNPKG

@sun-asterisk/sunlint

Version:

☀️ SunLint - Multi-language static analysis tool for code quality and security | Sun* Engineering Standards

33 lines (27 loc) 561 B
/** * C013 Dart Analyzer - No Dead Code * * Delegated to DartAnalyzer binary. */ class DartC013Analyzer { constructor() { this.ruleId = 'C013'; this.language = 'dart'; } getMetadata() { return { ruleId: 'C013', name: 'No Dead Code', language: 'dart', delegateTo: 'dart_analyzer', description: 'Detect and eliminate dead code' }; } async analyze(files, language, options) { return []; } supportsLanguage(language) { return language === 'dart'; } } module.exports = DartC013Analyzer;