I'm using cursor, ast-grep mcp tool, custom cursor rule and gemini-2.5pro
I'm using cursor, ast-grep mcp tool, custom cursor rule and gemini-2.5pro
The example shows the rule no-implicit-bool-jsx-attr,
e.g. <div draggable /> => <div draggable={true} />
The example shows the rule no-implicit-bool-jsx-attr,
e.g. <div draggable /> => <div draggable={true} />
📊 Better visuals: Show more rule information
🔍 Filter examples: By rules, features, and languages
📈 Sort by complexity: Start with easy rules and explore sophisticated ones
📊 Better visuals: Show more rule information
🔍 Filter examples: By rules, features, and languages
📈 Sort by complexity: Start with easy rules and explore sophisticated ones
github.com/HerringtonDa...
github.com/HerringtonDa...
Why will it be useful? Find nodes using sources like Rust Analyzer, TypeScript, and other language tools!
e.g. Use tsc to find errors and tell ast-grep to fix them!
Why will it be useful? Find nodes using sources like Rust Analyzer, TypeScript, and other language tools!
e.g. Use tsc to find errors and tell ast-grep to fix them!
The image is an example of using bash to invoke ast-grep.
The image is an example of using bash to invoke ast-grep.
In Next.js, where sg lints only Rust, the trick improves linting time by 90%
In Next.js, where sg lints only Rust, the trick improves linting time by 90%