Comparison

ast-grep vs ESLint

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

Machine formatsMarkdownJSONGraphQLMarkdown is open. JSON and GraphQL need a free key.
ast-grep57
★ESLint77
Score
vioscaleAI score
ast-grep57 / 100low · 35%
ESLint77 / 100high · 77%
Pricing
Free tier
ast-grep✓
ESLint✓
Model
Price level
ast-grepfree
ESLintfree
Integrations
Count
ast-grep–
ESLint2
Adoption
Dependent repos
ast-grep177
ESLint1,569,244
Github stars
ast-grep16,719
ESLint27,652
Package downloads weekly
ast-grep–
Activity
Commits last 30d
ast-grep71
ESLint61
Release
Cadence days
ast-grep14
ESLint13
History
ast-grep20 items
ESLint20 items
License
Spdx
ast-grepMIT
ESLintMIT
Language
Primary
ast-grepRust
Content
Faq
ast-grep5 items
ESLint5 items

Capabilities

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

Core
Function
ast-grepStatic analyzer
ESLintLinter + formatter
Language scope
ast-grepMulti-language
ESLintSingle-language
Implementation language
ast-grepRust
ESLintJavaScript
Capability
Autofix
ast-grep✓
ESLint✓
Config
Config model
ast-grepRule packs
ESLintConfig file
Extensibility
Custom rules
ast-grep✓
ESLint✓
Deployment
Deployment
ast-grepCLI-local
ESLintCLI-local
Delivery
Editor integration
ast-grep✓
ESLint✓
CI / VCS gating
ast-grep-
ESLint✓
Insight
Code metrics
ast-grep-
ESLint-
Performance
Incremental / monorepo aware
ast-grep-
ESLint-
Licensing
Open-source
ast-grepOSS
ESLintOSS
Commercial
Pricing model
ast-grepFree
ESLintFree

What each one is

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

ast-grep

CLI tool that finds and modifies code by matching abstract syntax tree patterns rather than text, enabling lightweight static analysis and large-scale code transformations.

Independently observed

ESLint

Leader

An open-source JavaScript linter that statically analyzes code to detect problems and can be integrated directly into text editors and CI pipelines. It supports custom rules and parsers to adapt to project-specific needs.

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 ↗

ESLint

Leader
Open sourceFree tier

Free open source

  • Open SourceFree
    • Find issues in JavaScript code
    • Automatically fix problems
    • Custom parsers
    • Custom rules
    • Text editor integration
    • +1 more
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✓
ESLint✓
Deployment
Self-hosted
ast-grep✓
ESLint✓
On-premise
ast-grep✗
ESLint✓

Integrations

What each product connects to. Counts come from the vendor's own integration directory where one exists.

ast-grep

Not documented yet.

ESLint

Leader
2 total
  • eslint-plugin-react
  • eslint-plugin-unicorn
Independently observed
Still deciding?

ast-grep or ESLint: which one depends on you

A composite score cannot know your constraints. Describe them and both get re-weighted against what you actually need, with the evidence behind every position.

Free to run, no account needed to start. How the evaluation works

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