5) { $packages_list .= ', and ' . ($dev_count - 5) . ' more'; } $this->add_violation( $file_path, 0, // JSON files don't have meaningful line numbers for this check "RSpade Standard Violation: package.json contains {$dev_count} devDependencies. " . "In RSpade, all packages should be in 'dependencies' to ensure consistent installations. " . "Found packages: {$packages_list}", '"devDependencies": { ... }', "Move all packages from 'devDependencies' to 'dependencies' and remove the 'devDependencies' key entirely. " . "RSpade makes no distinction between dev and production packages - all software needed for the project should be installed.", 'high' ); } } }