Comparison

ast-grep vs StyleLint

On the evidence we track, StyleLint leads this comparison with a composite score of 79/100. Scores are only directly comparable because these tools share a category; the full breakdown and every source is below.

Machine formatsJSONMarkdownGraphQLor send Accept: application/json
ast-grep60
StyleLint79
Score
Vioscale score
ast-grep60 / 100low · 45%
StyleLint79 / 100medium · 71%
Pricing
Free tier
ast-grep
StyleLint
Model
ast-grepcommercial
StyleLintopen_source
Price level
ast-grepfree
StyleLintfree
Transparent
ast-grep
StyleLint
Adoption
Dependent repos
ast-grep177
StyleLint200,392
Github stars
ast-grep15,649
StyleLint11,513
Package downloads weekly
ast-grep
StyleLint11,124,156
Activity
Commits last 30d
ast-grep49
StyleLint31
Release
Cadence days
ast-grep14
StyleLint7
History
ast-grep20 items
StyleLint20 items
License
Spdx
ast-grepMIT
StyleLintMIT
Language
Primary
ast-grepRust
StyleLintJavaScript

Capabilities

Feature-by-feature on the axes that matter for code quality tools. “-” means undocumented, not absent.

Core
Function
ast-grepStatic analyzer
StyleLintLinter + formatter
Language scope
ast-grepMulti-language
StyleLintSingle-language
Implementation language
ast-grepRust
StyleLintJavaScript
Capability
Autofix
ast-grep
StyleLint
Config
Config model
ast-grepRule packs
StyleLintConfig file
Extensibility
Custom rules
ast-grep
StyleLint
Deployment
Deployment
ast-grepCLI-local
StyleLintCLI-local
Delivery
Editor integration
ast-grep
StyleLint
CI / VCS gating
ast-grep-
StyleLint
Insight
Code metrics
ast-grep-
StyleLint
Performance
Incremental / monorepo aware
ast-grep-
StyleLint
Licensing
Open-source
ast-grepOSS
StyleLintOSS
Commercial
Pricing model
ast-grepFree
StyleLintFree

What each one is

The product in its own terms, so the numbers below have context.

ast-grep

A structural code search and rewriting tool that uses AST analysis to locate and modify code patterns across thousands of files, with support for linting and programmatic access via Node.js bindings.

Independently observed

StyleLint

Leader

Stylelint is an open-source CSS linter with over 100 built-in rules that helps developers catch errors, enforce conventions, and automatically fix issues. It supports plugins for custom rules and can parse CSS-like languages such as SCSS and Sass.

Independently observed

Pricing

List pricing as published by each vendor, with the date we read it. Always verify at the source before you buy.

ast-grep

Open sourceFree tier
as of verify ↗

StyleLint

Leader
Open source

Free and open source (MIT License)

as of verify ↗

Platform & deployment

Where each product runs and how it can be hosted. A dash means undocumented, not unsupported.

Platforms
CLI
ast-grep
StyleLint
Deployment
Self-hosted
ast-grep
StyleLint

Comparison generated from independently-sourced facts. Every value links to its source and retrieval date. See the method.