deno_lint – Rust crate for JavaScript and TypeScript linters

deno_lint is a Rust crate for building JavaScript and TypeScript linters. It provides the linting engine used by Deno’s built-in deno lint command, but the crate itself is not tied exclusively to Deno and can be embedded in other software.

The project provides the machinery needed to parse source code, execute lint rules, produce diagnostics and apply fixes. It ships with a substantial collection of rules covering correctness, suspicious constructs, style-related issues and common JavaScript and TypeScript programming mistakes. A recommended rule set provides a useful baseline without requiring developers to assemble a configuration from scratch.

Developers can use deno_lint as a foundation for their own linting tools or integrate its rule engine into larger development environments and code-analysis workflows. The project works with Deno’s AST infrastructure and exposes APIs for controlling enabled rules, diagnostics and source analysis.

This is free and open source software.

Key Features

  • Analyzes JavaScript and TypeScript source code.
  • Provides a large collection of built-in lint rules.
  • Includes a recommended rule set requiring no initial rule selection.
  • Supports configurable rule inclusion and exclusion.
  • Produces structured diagnostics with source locations.
  • Supports rules capable of supplying automatic code fixes.
  • Provides APIs for implementing additional linting rules.
  • Can be embedded in applications other than Deno.
  • Uses Deno’s Rust-based source-code analysis infrastructure.
  • Supports lint-ignore directives for suppressing selected diagnostics.
  • Suitable as an engine for custom JavaScript and TypeScript static-analysis tools.

Website: github.com/denoland/deno_lint
Support:
Developer: Deno authors
License: MIT License

deno_lint is written in Rust. Learn Rust with our recommended free books and free tutorials.


Related Software

JavaScript Linter Tools
ESLintFind and fix problems in JavaScript code
BiomeToolchain for web projects
standardJavaScript style guide, linter, and formatter
FlowStatic type checker
OXCcTools for JavaScript and TypeScript
XOConfigurable ESLint wrapper
JSHintStatic code analysis tool
SherifChecks monorepo dependency consistency
RSLintEasy to use JavaScript and TypeScript linter
JSLintJavaScript code quality and coverage tool
neostandardSuccessor to the standardjs javascript style guide
deno_lintRust crate for building fast JavaScript and TypeScript linters
quick-lint-jsFinds bugs in JavaScript programs
PutoutJavaScript linter, pluggable and configurable code transformer

Read our verdict in the software roundup.


Best Free and Open Source Software LinuxLinks helps you discover the best free and open source software for Linux. Explore our extensive collection of recommended applications, including alternatives to popular proprietary software.

We also publish software reviews, Linux tutorials, hardware reviews, free programming books and articles covering the wider open source community. Browse our Linux resources to discover more.

Know a useful free and open source Linux application we haven't covered? Suggest a program for inclusion.

Has your software been featured on LinuxLinks? Display one of our Featured on LinuxLinks badges on your website or GitHub README.
Subscribe

Please read our Comment Policy before commenting.

Notify of
guest
0 Comments
Oldest
Newest Most Voted