# ast-grep vs ESLint

**Leader by vioscaleAI score:** ESLint

| Attribute | ast-grep | ESLint |
|---|---|---|
| **vioscaleAI score** | 56.8 (35% (low)) | 76.8 (77% (high)) |
| activity.commits_last_30d | 71 | 61 |
| adoption.dependent_repos | 177 | 1,569,244 |
| adoption.github_stars | 16,719 | 27,652 |
| adoption.package_downloads_weekly | - | 203,482,481 |
| content.faq | `[{"answer":"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. It is indexed under Code Quality Tools.","source":"https://ast-grep.github.io","question":"What is ast-grep?","confidence":0.6},{"answer":"ast-grep is open source, so it can be self-hosted and used at no licence cost. It is released under the MIT licence. Pricing changes often, so verify at source before relying on it.","source":"https://ast-grep.github.io","question":"Is ast-grep free to use?","confidence":0.6},{"answer":"ast-grep supports a command-line interface. Platforms we have not confirmed are simply not listed here rather than ruled out.","source":"https://ast-grep.github.io","question":"What platforms does ast-grep support?","confidence":0.6},{"answer":"Yes. ast-grep can be deployed self-hosted, so it does not have to run on the vendor's infrastructure.","source":"https://ast-grep.github.io","question":"Can ast-grep be self-hosted?","confidence":0.6},{"answer":"Yes. ast-grep is published under the MIT licence, a permissive licence that generally allows commercial use and modification. Licence terms can change between releases, so verify against the repository for the version you intend to use.","source":"https://github.com/ast-grep/ast-grep","question":"Is ast-grep open source?","confidence":0.95}]` | `[{"answer":"An open-source linter and fixer for JavaScript and JSX that runs locally in editors and CI pipelines. It uses AST analysis to catch problems and can automatically fix many issues, with full support for custom rules and extensibility. It is indexed under Code Quality Tools.","source":"https://eslint.org","question":"What is ESLint?","confidence":0.6},{"answer":"ESLint is open source, so it can be self-hosted and used at no licence cost. It is released under the MIT licence. Pricing changes often, so verify at source before relying on it.","source":"https://eslint.org","question":"Is ESLint free to use?","confidence":0.6},{"answer":"ESLint supports a command-line interface. Platforms we have not confirmed are simply not listed here rather than ruled out.","source":"https://eslint.org","question":"What platforms does ESLint support?","confidence":0.6},{"answer":"Yes. ESLint can be deployed self-hosted, so it does not have to run on the vendor's infrastructure.","source":"https://eslint.org","question":"Can ESLint be self-hosted?","confidence":0.6},{"answer":"Yes. ESLint is published under the MIT licence, a permissive licence that generally allows commercial use and modification. Licence terms can change between releases, so verify against the repository for the version you intend to use.","source":"https://github.com/eslint/eslint","question":"Is ESLint open source?","confidence":0.99}]` |
| deployment.options | `{"self_hosted":true}` | `{"on_prem":true,"self_hosted":true}` |
| description.long | 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. | 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. |
| features.capabilities | `{"autofix":true,"function":"static_analyzer","deployment":"cli_local","open_source":"oss","config_model":"rule_packs","custom_rules":true,"impl_language":"Rust","pricing_model":"free","language_scope":"multi_language","editor_integration":true}` | `{"autofix":true,"function":"linter_formatter","ci_gating":true,"deployment":"cli_local","open_source":"oss","config_model":"config_file","custom_rules":true,"impl_language":"JavaScript","pricing_model":"free","language_scope":"single_language","editor_integration":true}` |
| integrations.count | - | 2 |
| integrations.list | - | `[{"name":"eslint-plugin-react"},{"name":"eslint-plugin-unicorn"}]` |
| language.primary | Rust | JavaScript |
| license.spdx | MIT | MIT |
| platform.support | `{"cli":true}` | `{"cli":true}` |
| pricing | `{"type":"open_source","freeTier":true,"sourceUrl":"https://ast-grep.github.io","retrievedAt":"2026-11-26T14:10:55.591Z"}` | `{"type":"open_source","plans":[{"free":true,"name":"Open Source","features":["Find issues in JavaScript code","Automatically fix problems","Custom parsers","Custom rules","Text editor integration","CI pipeline integration"],"description":"Free open source linter","contactSales":false}],"summary":"Free open source","freeTier":true,"sourceUrl":"https://eslint.org","retrievedAt":"2026-08-05T14:08:29.561Z"}` |
| pricing.free_tier | yes | yes |
| pricing.model | open_source | open_source |
| pricing.price_level | free | free |
| release.cadence_days | 14 | 13 |
| release.history | `[{"url":"https://github.com/ast-grep/ast-grep/releases/tag/0.51.3","date":"2026-11-16T04:06:59Z","type":"stable","version":"0.51.3"},{"url":"https://github.com/ast-grep/ast-grep/releases/tag/0.51.2","date":"2026-11-11T05:08:02Z","type":"stable","version":"0.51.2"},{"url":"https://github.com/ast-grep/ast-grep/releases/tag/0.51.1","date":"2026-11-02T05:33:13Z","type":"stable","version":"0.51.1"},{"url":"https://github.com/ast-grep/ast-grep/releases/tag/0.51.0","date":"2026-10-15T15:10:15Z","type":"stable","version":"0.51.0"},{"url":"https://github.com/ast-grep/ast-grep/releases/tag/0.50.0","date":"2026-10-09T14:19:44Z","type":"stable","version":"0.50.0"},{"url":"https://github.com/ast-grep/ast-grep/releases/tag/0.45.3","date":"2026-08-31T01:42:23Z","type":"stable","version":"0.45.3"},{"url":"https://github.com/ast-grep/ast-grep/releases/tag/0.45.2","date":"2026-08-23T19:48:48Z","type":"stable","version":"0.45.2"},{"url":"https://github.com/ast-grep/ast-grep/releases/tag/0.45.1","date":"2026-08-07T15:13:34Z","type":"stable","version":"0.45.1"},{"url":"https://github.com/ast-grep/ast-grep/releases/tag/0.45.0","date":"2026-07-23T16:07:00Z","type":"stable","version":"0.45.0"},{"url":"https://github.com/ast-grep/ast-grep/releases/tag/0.44.1","date":"2026-07-04T14:06:40Z","type":"stable","version":"0.44.1"},{"url":"https://github.com/ast-grep/ast-grep/releases/tag/0.44.0","date":"2026-06-22T01:49:47Z","type":"stable","version":"0.44.0"},{"url":"https://github.com/ast-grep/ast-grep/releases/tag/0.43.0","date":"2026-05-25T17:54:30Z","type":"stable","version":"0.43.0"},{"url":"https://github.com/ast-grep/ast-grep/releases/tag/0.42.3","date":"2026-05-19T15:18:18Z","type":"stable","version":"0.42.3"},{"url":"https://github.com/ast-grep/ast-grep/releases/tag/0.42.2","date":"2026-05-10T21:58:34Z","type":"stable","version":"0.42.2"},{"url":"https://github.com/ast-grep/ast-grep/releases/tag/0.42.1","date":"2026-04-04T16:01:20Z","type":"stable","version":"0.42.1"},{"url":"https://github.com/ast-grep/ast-grep/releases/tag/0.42.0","date":"2026-03-16T03:29:14Z","type":"stable","version":"0.42.0"},{"url":"https://github.com/ast-grep/ast-grep/releases/tag/0.41.1","date":"2026-03-10T14:04:27Z","type":"stable","version":"0.41.1"},{"url":"https://github.com/ast-grep/ast-grep/releases/tag/0.41.0","date":"2026-02-22T18:57:13Z","type":"stable","version":"0.41.0"},{"url":"https://github.com/ast-grep/ast-grep/releases/tag/0.40.5","date":"2026-01-10T17:57:43Z","type":"stable","version":"0.40.5"},{"url":"https://github.com/ast-grep/ast-grep/releases/tag/0.40.4","date":"2026-01-05T01:22:05Z","type":"stable","version":"0.40.4"}]` | `[{"url":"https://github.com/eslint/eslint/releases/tag/v10.15.0","date":"2026-11-13T21:29:31Z","type":"stable","version":"v10.15.0"},{"url":"https://github.com/eslint/eslint/releases/tag/v10.14.0","date":"2026-10-30T14:10:27Z","type":"stable","version":"v10.14.0"},{"url":"https://github.com/eslint/eslint/releases/tag/v10.13.0","date":"2026-10-16T14:23:23Z","type":"stable","version":"v10.13.0"},{"url":"https://github.com/eslint/eslint/releases/tag/v10.12.0","date":"2026-10-02T20:07:11Z","type":"stable","version":"v10.12.0"},{"url":"https://github.com/eslint/eslint/releases/tag/v10.11.0","date":"2026-09-18T20:13:06Z","type":"stable","version":"v10.11.0"},{"url":"https://github.com/eslint/eslint/releases/tag/v10.10.0","date":"2026-09-04T14:30:17Z","type":"stable","version":"v10.10.0"},{"url":"https://github.com/eslint/eslint/releases/tag/v10.9.1","date":"2026-08-24T18:18:59Z","type":"stable","version":"v10.9.1"},{"url":"https://github.com/eslint/eslint/releases/tag/v10.9.0","date":"2026-08-21T13:05:50Z","type":"stable","version":"v10.9.0"},{"url":"https://github.com/eslint/eslint/releases/tag/v10.8.1","date":"2026-08-07T20:16:24Z","type":"stable","version":"v10.8.1"},{"url":"https://github.com/eslint/eslint/releases/tag/v10.8.0","date":"2026-07-24T20:15:28Z","type":"stable","version":"v10.8.0"},{"url":"https://github.com/eslint/eslint/releases/tag/v10.7.0","date":"2026-07-10T21:22:56Z","type":"stable","version":"v10.7.0"},{"url":"https://github.com/eslint/eslint/releases/tag/v9.39.5","date":"2026-07-10T20:41:58Z","type":"stable","version":"v9.39.5"},{"url":"https://github.com/eslint/eslint/releases/tag/v10.6.0","date":"2026-06-26T20:09:26Z","type":"stable","version":"v10.6.0"},{"url":"https://github.com/eslint/eslint/releases/tag/v10.5.0","date":"2026-06-12T17:54:47Z","type":"stable","version":"v10.5.0"},{"url":"https://github.com/eslint/eslint/releases/tag/v10.4.1","date":"2026-05-29T20:32:39Z","type":"stable","version":"v10.4.1"},{"url":"https://github.com/eslint/eslint/releases/tag/v10.4.0","date":"2026-05-15T14:11:22Z","type":"stable","version":"v10.4.0"},{"url":"https://github.com/eslint/eslint/releases/tag/v10.3.0","date":"2026-05-01T15:39:48Z","type":"stable","version":"v10.3.0"},{"url":"https://github.com/eslint/eslint/releases/tag/v10.2.1","date":"2026-04-17T20:17:51Z","type":"stable","version":"v10.2.1"},{"url":"https://github.com/eslint/eslint/releases/tag/v10.2.0","date":"2026-04-03T20:36:28Z","type":"stable","version":"v10.2.0"},{"url":"https://github.com/eslint/eslint/releases/tag/v10.1.0","date":"2026-03-20T15:31:47Z","type":"stable","version":"v10.1.0"}]` |
| security.scorecard | - | 6.6 |
| security.vulnerabilities | `{"count":0,"source":"https://advisories.ecosyste.ms/api/v1/advisories?ecosystem=npm&package_name=%40ast-grep%2Fnapi&per_page=100","last_12m":0,"max_severity":null}` | `{"count":2,"source":"https://advisories.ecosyste.ms/api/v1/advisories?ecosystem=npm&package_name=eslint&per_page=100","last_12m":1,"max_severity":"MODERATE"}` |

## Capabilities (Code Quality Tools)

| Capability | ast-grep | ESLint |
|---|:--:|:--:|
| **Core** |  |  |
| Function | Static analyzer | Linter + formatter |
| Language scope | Multi-language | Single-language |
| Implementation language | Rust | JavaScript |
| **Capability** |  |  |
| Autofix | ✓ | ✓ |
| **Config** |  |  |
| Config model | Rule packs | Config file |
| **Extensibility** |  |  |
| Custom rules | ✓ | ✓ |
| **Deployment** |  |  |
| Deployment | CLI-local | CLI-local |
| **Delivery** |  |  |
| Editor integration | ✓ | ✓ |
| CI / VCS gating | - | ✓ |
| **Insight** |  |  |
| Code metrics | - | - |
| **Performance** |  |  |
| Incremental / monorepo aware | - | - |
| **Licensing** |  |  |
| Open-source | OSS | OSS |
| **Commercial** |  |  |
| Pricing model | Free | Free |

*Source: vioscaleAI. Generated 2026-11-29T03:17:33.090Z. "-" = undocumented, not absent.*
