Read-only mining codemod that scans AngularJS JavaScript source for $scope/$rootScope
coupling and emits a scope_coupling metric for migration assessment. It never modifies
files โ every match is reported via codemod:metrics and the transform always returns null.
# Install from registry
codemod run angularjs-scope-coupling
# Or run locally
codemod run -w workflow.yaml
Development
bash
# Test the transformation
pnpm test
# Validate the workflow
codemod workflow validate -w workflow.yaml
# Publish to registry
codemod login
codemod publish
License
MIT
Ready to evolve your codebase?
Build tailored, compiler-aware skills to assess, plan, and automate complex codebase changes.