Skip to content

Latest commit

 

History

6 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AST Grep rules

Intention is to provide a quick way to scan repositories for anti-patterns that are commonly observed.

Adding new rules can be done with the help of LLMs by giving a sample of the code in question.

ast-grep is a better solution than asking LLMs to go through to find these patterns.

Installation

Install ast-grep

git clone <repo> ~/.config/ast-grep)

Usage

ast-grep scan -c ~/.config/ast-grep/sgconfig.yml

About

My rules to detect anti-patterns and apply fixes

Resources

Stars

0 stars

Watchers

0 watching

Forks

Contributors