Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

blog: add rule / file simplification example #664

Open
HerringtonDarkholme opened this issue Jan 29, 2025 · 0 comments
Open

blog: add rule / file simplification example #664

HerringtonDarkholme opened this issue Jan 29, 2025 · 0 comments

Comments

@HerringtonDarkholme
Copy link
Member

HerringtonDarkholme commented Jan 29, 2025

ast-grep/ast-grep#1779

demonstrate:

  1. ast-grep scan -r test.yml test.kt
  2. randomly delete some statements
  3. use ast dump to delete unrelated file content
  4. delete unneeded rule
  5. repeat 2-4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant