Skip to content

Lint plugin collection for enforcing naming conventions, type annotations, and error handling patterns in Deno code with auto-fix support.

License

NeaByteLab/Deno-Lint

Repository files navigation

@neabyte/deno-lint

A collection of custom lint rules built on Deno's native lint plugin system.

Requires Deno 2.2.0+. Learn more about Deno Lint Plugins.

Installation

Run the following command to add the lint plugin to your project:

deno add jsr:@neabyte/deno-lint

To exclude specific rules, configure them in your deno.json:

{
  "lint": {
    "plugins": [
      "jsr:@neabyte/deno-lint@0.3.1" // add this module
    ],
    "rules": {
      "exclude": [
        "deno-lint/require-error-handling",
        "deno-lint/explicit-parameter-types"
        // Exclude any rules you don't want to use
      ]
    }
  }
}

Available Rules

Type Safety & Annotations

Modern JavaScript Features

Array & Object Operations

Code Quality & Style

Error Handling & Safety

License

MIT License - see LICENSE file for details.