ESLint
Build / code quality tool · Free
A JavaScript static analyzer with rules and plugins: detects errors and convention violations before the application runs.
Also known as: eslint/eslint; eslint-linter; javascript-linter; js-code-quality

What you can use for free
Code and local use under MIT.
Paid features and costs
Computing resources, self-hosting, and external services are paid for separately if used.
Access and limitations
Code and local use under MIT. Computing resources, self-hosting, and external services are paid for separately if used.
Use cases
- Detect JavaScript rule violations before execution
- Check actual source code and include the diagnostic report in the workflow
Example workflow
A possible workflow; this is not a report of hands-on testing.
Detect JavaScript rule violations before execution.
Before you start
- A repository, package manifests, and configuration.
- A compatible runtime and the target build command.
Steps
- Choose rules/plugins for the project's syntax and conventions.
- Check actual source code and include the diagnostic report in the workflow.
- Add the workflow to scripts or CI with a clear report.
Check your result
- A clean copy of the project reproduces the result.
- Errors produce a nonzero exit code and clear diagnostics.
Choosing ESLint
Detect JavaScript rule violations before execution
Choose this when
- Detect JavaScript rule violations before execution
- Check actual source code and include the diagnostic report in the workflow
Requirements
- The current README requires Node.js ^20.19.0, ^22.13.0, or >=24 with SSL/ICU; TypeScript definitions require TypeScript 5.3+.
Things to consider
- Costs and limits of free use: Computing resources, self-hosting, and external services are paid for separately if used.
- Terms of use: MIT for the code; dependencies have separate licenses.
Frequently asked questions
What can you use for free in ESLint?
Code and local use under MIT.
What additional costs might arise with ESLint?
Computing resources, self-hosting, and external services are paid for separately if used.
What terms of use matter for ESLint?
MIT for the code; dependencies have separate licenses.
How do you get started with ESLint?
Choose rules/plugins for the project's syntax and conventions. Check actual source code and include the diagnostic report in the workflow. Add the workflow to scripts or CI with a clear report.
Is a JSX parser enough to check React rules?
No: JSX syntax can be enabled in configuration, but React semantics require the corresponding plugin. ESLint finds problematic patterns, while Prettier formats code. The warn level does not change the exit code; error produces exit code 1.
License
MIT for the code; dependencies have separate licenses.
MIT — permissive license
You can use, modify, distribute, and sell the code, including in a closed-source commercial product. When sharing copies or substantial portions of the code, retain the license text and copyright notice. You do not need to open-source your entire project; the author provides no warranties.
License termsTechnologies and topics
- ESLint
- build
- Development