Created
December 6, 2024 22:45
-
-
Save kerbrose/7874508f2ad82ff1b2d3efc1b1ce283c to your computer and use it in GitHub Desktop.
ast-grep rules
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| id: match-specific-function | |
| language: python | |
| rule: | |
| kind: function_definition | |
| regex: def action_confirm | |
| inside: | |
| kind: block | |
| has: | |
| regex: sale.order |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment