UNPKG

@sun-asterisk/sunlint

Version:

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

41 lines (34 loc) 863 B
/** * C033 Dart Analyzer - Separate Service Repository * * This is a JS wrapper that delegates to DartAnalyzer binary. * Actual implementation: dart_analyzer/lib/rules/C033_separate_service_repository.dart */ class DartC033Analyzer { constructor() { this.ruleId = 'C033'; this.language = 'dart'; } getMetadata() { return { ruleId: 'C033', name: 'Separate Service Repository', language: 'dart', delegateTo: 'dart_analyzer', description: 'Maintain separation between service and repository layers' }; } getConfig() { return { severity: 'warning' }; } async analyze(files, language, options) { // Delegated to DartAnalyzer binary via heuristic-engine.js return []; } supportsLanguage(language) { return language === 'dart'; } } module.exports = DartC033Analyzer;