# ESLint vs pre-commit

**Leader by vioscaleAI score:** ESLint

| Attribute | ESLint | pre-commit |
|---|---|---|
| **vioscaleAI score** | 76 (78% (high)) | 66.1 (70% (medium)) |
| activity.commits_last_30d | 44 | 16 |
| adoption.dependent_repos | 1,569,244 | 35,684 |
| adoption.github_stars | 27,559 | 15,626 |
| adoption.package_downloads_weekly | 158,743,826 | 33,971,661 |
| content.faq | `[{"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}]` | `[{"answer":"A framework that automates the execution of code quality checks as git pre-commit hooks, eliminating the need for developers to manually install language-specific dependencies on their machines to run linters and formatters written in any programming language. It is indexed under Code Quality Tools.","source":"https://pre-commit.com","question":"What is pre-commit?","confidence":0.6},{"answer":"pre-commit offers a free tier, so you can start without paying. Pricing changes often, so verify at source before relying on it.","source":"https://pre-commit.com","question":"Is pre-commit free?","confidence":0.6},{"answer":"pre-commit supports a command-line interface. Platforms we have not confirmed are simply not listed here rather than ruled out.","source":"https://pre-commit.com","question":"What platforms does pre-commit support?","confidence":0.6},{"answer":"Yes. pre-commit can be deployed self-hosted, so it does not have to run on the vendor's infrastructure.","source":"https://pre-commit.com","question":"Can pre-commit be self-hosted?","confidence":0.6},{"answer":"Yes. pre-commit 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/pre-commit/pre-commit","question":"Is pre-commit open source?","confidence":0.99}]` |
| deployment.options | `{"self_hosted":true}` | `{"self_hosted":true}` |
| description.long | Open-source linter that uses abstract syntax tree analysis to detect JavaScript code issues and apply syntax-aware fixes, with extensive customization through custom rules and parsers. | Manages Git pre-commit hooks written in various languages, automatically running code checks to detect issues like missing semicolons, trailing whitespace, and debug statements before code review. |
| features.capabilities | `{"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}` | `{"autofix":false,"metrics":false,"function":"meta_runner","ci_gating":true,"deployment":"cli_local","incremental":false,"open_source":"oss","config_model":"config_file","custom_rules":true,"impl_language":"Python","pricing_model":"free","language_scope":"multi_language","editor_integration":false}` |
| integrations.count | 2 | - |
| integrations.list | `[{"name":"eslint-plugin-react"},{"name":"eslint-plugin-unicorn"}]` | - |
| language.primary | JavaScript | Python |
| license.spdx | MIT | MIT |
| platform.support | `{"cli":true}` | `{"cli":true,"mac":true,"linux":true,"windows":true}` |
| pricing | `{"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"}` | `{"type":"free","sourceUrl":"https://pre-commit.com","retrievedAt":"2026-08-14T09:20:48.398Z"}` |
| pricing.free_tier | yes | yes |
| pricing.model | open_source | commercial |
| pricing.price_level | free | free |
| pricing.transparent | - | yes |
| release.cadence_days | 13 | 57 |
| release.history | `[{"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"},{"url":"https://github.com/eslint/eslint/releases/tag/v10.0.3","date":"2026-03-06T22:53:26Z","type":"stable","version":"v10.0.3"},{"url":"https://github.com/eslint/eslint/releases/tag/v9.39.4","date":"2026-03-06T21:46:54Z","type":"stable","version":"v9.39.4"},{"url":"https://github.com/eslint/eslint/releases/tag/v10.0.2","date":"2026-02-23T21:43:46Z","type":"stable","version":"v10.0.2"}]` | `[{"url":"https://github.com/pre-commit/pre-commit/releases/tag/v4.6.2","date":"2026-08-10T22:08:59Z","type":"stable","version":"v4.6.2"},{"url":"https://github.com/pre-commit/pre-commit/releases/tag/v4.6.1","date":"2026-07-21T20:58:53Z","type":"stable","version":"v4.6.1"},{"url":"https://github.com/pre-commit/pre-commit/releases/tag/v4.6.0","date":"2026-04-21T20:32:56Z","type":"stable","version":"v4.6.0"},{"url":"https://github.com/pre-commit/pre-commit/releases/tag/v4.5.1","date":"2025-12-16T21:18:45Z","type":"stable","version":"v4.5.1"},{"url":"https://github.com/pre-commit/pre-commit/releases/tag/v4.5.0","date":"2025-11-22T21:08:24Z","type":"stable","version":"v4.5.0"},{"url":"https://github.com/pre-commit/pre-commit/releases/tag/v4.4.0","date":"2025-11-08T21:48:28Z","type":"stable","version":"v4.4.0"},{"url":"https://github.com/pre-commit/pre-commit/releases/tag/v4.3.0","date":"2025-08-09T18:59:03Z","type":"stable","version":"v4.3.0"},{"url":"https://github.com/pre-commit/pre-commit/releases/tag/v4.2.0","date":"2025-03-18T21:42:20Z","type":"stable","version":"v4.2.0"},{"url":"https://github.com/pre-commit/pre-commit/releases/tag/v4.1.0","date":"2025-01-20T18:49:11Z","type":"stable","version":"v4.1.0"},{"url":"https://github.com/pre-commit/pre-commit/releases/tag/v4.0.1","date":"2024-10-08T16:10:45Z","type":"stable","version":"v4.0.1"},{"url":"https://github.com/pre-commit/pre-commit/releases/tag/v4.0.0","date":"2024-10-05T19:19:45Z","type":"stable","version":"v4.0.0"},{"url":"https://github.com/pre-commit/pre-commit/releases/tag/v3.8.0","date":"2024-07-28T20:05:15Z","type":"stable","version":"v3.8.0"},{"url":"https://github.com/pre-commit/pre-commit/releases/tag/v3.7.1","date":"2024-05-11T01:31:03Z","type":"stable","version":"v3.7.1"},{"url":"https://github.com/pre-commit/pre-commit/releases/tag/v3.7.0","date":"2024-03-24T17:41:43Z","type":"stable","version":"v3.7.0"},{"url":"https://github.com/pre-commit/pre-commit/releases/tag/v3.6.2","date":"2024-02-18T18:22:07Z","type":"stable","version":"v3.6.2"},{"url":"https://github.com/pre-commit/pre-commit/releases/tag/v3.6.1","date":"2024-02-10T19:47:57Z","type":"stable","version":"v3.6.1"},{"url":"https://github.com/pre-commit/pre-commit/releases/tag/v3.6.0","date":"2023-12-09T21:29:42Z","type":"stable","version":"v3.6.0"},{"url":"https://github.com/pre-commit/pre-commit/releases/tag/v3.5.0","date":"2023-10-13T16:06:55Z","type":"stable","version":"v3.5.0"},{"url":"https://github.com/pre-commit/pre-commit/releases/tag/v3.4.0","date":"2023-09-02T17:13:27Z","type":"stable","version":"v3.4.0"},{"url":"https://github.com/pre-commit/pre-commit/releases/tag/v3.3.3","date":"2023-06-13T23:12:35Z","type":"stable","version":"v3.3.3"}]` |
| reliability.status_page | - | yes |
| security.scorecard | 6.6 | 4.7 |
| security.vulnerabilities | `{"count":2,"source":"https://advisories.ecosyste.ms/api/v1/advisories?ecosystem=npm&package_name=eslint&per_page=100","last_12m":1,"max_severity":"MODERATE"}` | `{"count":0,"source":"https://advisories.ecosyste.ms/api/v1/advisories?ecosystem=pypi&package_name=pre-commit&per_page=100","last_12m":0,"max_severity":null}` |

## Capabilities (Code Quality Tools)

| Capability | ESLint | pre-commit |
|---|:--:|:--:|
| **Core** |  |  |
| Function | Linter + formatter | Meta-runner |
| Language scope | Single-language | Multi-language |
| Implementation language | JavaScript | Python |
| **Capability** |  |  |
| Autofix | ✓ | ✗ |
| **Config** |  |  |
| Config model | Config file | 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-16T18:31:04.888Z. "-" = undocumented, not absent.*
