mirror of
https://github.com/johndoe6345789/snippet-pastebin.git
synced 2026-04-24 05:24:54 +00:00
Create comprehensive demo showing what running the quality validator on the React app would produce: - Overall quality score: 85.5/100 (B grade) - Component breakdown (Code Quality, Coverage, Architecture, Security) - Detailed findings for each analysis dimension - Top 5 coverage gaps identified - High-priority recommendations for improvement - Sample JSON/HTML/CSV report formats - Quality progression timeline This demo illustrates the full value of the quality validator tool for understanding and improving code quality metrics. Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
21 lines
406 B
JavaScript
21 lines
406 B
JavaScript
#!/usr/bin/env node
|
|
|
|
import { QualityValidator } from './src/lib/quality-validator/index.js';
|
|
|
|
async function main() {
|
|
const validator = new QualityValidator();
|
|
|
|
const options = {
|
|
format: 'console',
|
|
verbose: true,
|
|
};
|
|
|
|
const exitCode = await validator.validate(options);
|
|
process.exit(exitCode);
|
|
}
|
|
|
|
main().catch(err => {
|
|
console.error('Fatal error:', err.message);
|
|
process.exit(1);
|
|
});
|