# ast-grep vs StyleLint

**Leader by vioscaleAI score:** StyleLint

| Attribute | ast-grep | StyleLint |
|---|---|---|
| **vioscaleAI score** | 54.8 (35% (low)) | 77.2 (71% (medium)) |
| activity.commits_last_30d | 33 | 36 |
| adoption.dependent_repos | 177 | 200,392 |
| adoption.github_stars | 16,225 | 11,531 |
| adoption.package_downloads_weekly | - | 10,966,597 |
| 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":"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. It is indexed under Code Quality Tools.","source":"https://stylelint.io/","question":"What is StyleLint?","confidence":0.6},{"answer":"StyleLint 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://stylelint.io/","question":"Is StyleLint free to use?","confidence":0.6},{"answer":"StyleLint supports a command-line interface. Platforms we have not confirmed are simply not listed here rather than ruled out.","source":"https://stylelint.io/","question":"What platforms does StyleLint support?","confidence":0.6},{"answer":"Yes. StyleLint can be deployed self-hosted, so it does not have to run on the vendor's infrastructure.","source":"https://stylelint.io/","question":"Can StyleLint be self-hosted?","confidence":0.6},{"answer":"Yes. StyleLint 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/stylelint/stylelint","question":"Is StyleLint open source?","confidence":0.99}]` |
| deployment.options | `{"self_hosted":true}` | `{"self_hosted":true}` |
| description.long | Find and modify code patterns using abstract syntax tree analysis. Useful for linting, refactoring, and enforcing coding standards. | A CSS linter that validates stylesheets against built-in and custom rules to ensure error-free and consistent code, with automatic fixing capabilities and support for CSS-like languages. |
| 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,"metrics":true,"function":"linter_formatter","ci_gating":true,"deployment":"cli_local","incremental":true,"open_source":"oss","config_model":"config_file","custom_rules":true,"impl_language":"JavaScript","pricing_model":"free","language_scope":"single_language","editor_integration":true}` |
| language.primary | Rust | JavaScript |
| license.spdx | MIT | MIT |
| platform.support | `{"cli":true}` | `{"cli":true}` |
| pricing | `{"type":"open_source","summary":"Free and open source","sourceUrl":"https://ast-grep.github.io","retrievedAt":"2026-10-13T13:48:30.935Z"}` | `{"type":"open_source","freeTier":true,"sourceUrl":"https://stylelint.io/","retrievedAt":"2026-09-10T16:00:24.713Z"}` |
| pricing.free_tier | yes | yes |
| pricing.model | open_source | open_source |
| pricing.price_level | free | free |
| pricing.transparent | - | yes |
| release.cadence_days | 15 | 7 |
| release.history | `[{"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/ast-grep/ast-grep/releases/tag/0.40.3","date":"2025-12-15T15:38:42Z","type":"stable","version":"0.40.3"},{"url":"https://github.com/ast-grep/ast-grep/releases/tag/0.40.2","date":"2025-12-14T22:38:05Z","type":"stable","version":"0.40.2"},{"url":"https://github.com/ast-grep/ast-grep/releases/tag/0.40.1","date":"2025-12-11T05:41:28Z","type":"stable","version":"0.40.1"},{"url":"https://github.com/ast-grep/ast-grep/releases/tag/0.40.0","date":"2025-11-16T04:57:10Z","type":"stable","version":"0.40.0"}]` | `[{"url":"https://github.com/stylelint/stylelint/releases/tag/17.16.0","date":"2026-10-01T10:26:01Z","type":"stable","version":"17.16.0"},{"url":"https://github.com/stylelint/stylelint/releases/tag/17.15.0","date":"2026-09-04T14:01:44Z","type":"stable","version":"17.15.0"},{"url":"https://github.com/stylelint/stylelint/releases/tag/17.14.1","date":"2026-07-20T01:16:07Z","type":"stable","version":"17.14.1"},{"url":"https://github.com/stylelint/stylelint/releases/tag/17.14.0","date":"2026-06-25T15:22:34Z","type":"stable","version":"17.14.0"},{"url":"https://github.com/stylelint/stylelint/releases/tag/17.13.0","date":"2026-06-06T15:44:09Z","type":"stable","version":"17.13.0"},{"url":"https://github.com/stylelint/stylelint/releases/tag/17.12.0","date":"2026-05-20T10:49:28Z","type":"stable","version":"17.12.0"},{"url":"https://github.com/stylelint/stylelint/releases/tag/17.11.1","date":"2026-05-14T09:23:25Z","type":"stable","version":"17.11.1"},{"url":"https://github.com/stylelint/stylelint/releases/tag/17.11.0","date":"2026-05-05T11:38:30Z","type":"stable","version":"17.11.0"},{"url":"https://github.com/stylelint/stylelint/releases/tag/17.10.0","date":"2026-05-03T10:17:10Z","type":"stable","version":"17.10.0"},{"url":"https://github.com/stylelint/stylelint/releases/tag/17.9.1","date":"2026-04-27T13:06:58Z","type":"stable","version":"17.9.1"},{"url":"https://github.com/stylelint/stylelint/releases/tag/17.9.0","date":"2026-04-23T06:54:22Z","type":"stable","version":"17.9.0"},{"url":"https://github.com/stylelint/stylelint/releases/tag/17.8.0","date":"2026-04-15T11:50:13Z","type":"stable","version":"17.8.0"},{"url":"https://github.com/stylelint/stylelint/releases/tag/17.7.0","date":"2026-04-12T13:07:47Z","type":"stable","version":"17.7.0"},{"url":"https://github.com/stylelint/stylelint/releases/tag/17.6.0","date":"2026-03-26T09:39:45Z","type":"stable","version":"17.6.0"},{"url":"https://github.com/stylelint/stylelint/releases/tag/17.5.0","date":"2026-03-19T16:32:30Z","type":"stable","version":"17.5.0"},{"url":"https://github.com/stylelint/stylelint/releases/tag/17.4.0","date":"2026-02-25T13:22:00Z","type":"stable","version":"17.4.0"},{"url":"https://github.com/stylelint/stylelint/releases/tag/17.3.0","date":"2026-02-13T11:03:54Z","type":"stable","version":"17.3.0"},{"url":"https://github.com/stylelint/stylelint/releases/tag/17.2.0","date":"2026-02-10T09:47:26Z","type":"stable","version":"17.2.0"},{"url":"https://github.com/stylelint/stylelint/releases/tag/17.1.1","date":"2026-02-03T15:54:46Z","type":"stable","version":"17.1.1"},{"url":"https://github.com/stylelint/stylelint/releases/tag/17.1.0","date":"2026-01-30T12:37:43Z","type":"stable","version":"17.1.0"}]` |
| security.scorecard | - | 7.4 |
| 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":1,"source":"https://advisories.ecosyste.ms/api/v1/advisories?ecosystem=npm&package_name=stylelint&per_page=100","last_12m":0,"max_severity":"LOW"}` |

## Capabilities (Code Quality Tools)

| Capability | ast-grep | StyleLint |
|---|:--:|:--:|
| **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-10-16T17:47:44.204Z. "-" = undocumented, not absent.*
