Licence
MIT
Version
2.2.1
Deps
0
Size
223 kB
Vulns
0
Weekly
901
@logtape/lint: lint rules for LogTape
@logtape/lint provides lint rules for ESLint (v8 and v9), Oxlint, and Deno Lint that detect common LogTape usage mistakes at development time.
Rules
| Rule | Default severity | Fix |
|---|---|---|
no-message-interpolation |
error | no |
prefer-lazy-evaluation |
warn | yes |
no-unawaited-log |
error | yes (conditional) |
require-meta-sink |
warn | no |
Installation
deno add --jsr @logtape/lint # for Deno
npm add --save-dev @logtape/lint # for npm
pnpm add --save-dev @logtape/lint # for pnpm
yarn add --dev @logtape/lint # for Yarn
bun add --dev @logtape/lint # for BunDocs
The documentation for this package is available at https://logtape.org/lint/. For the API references, see https://jsr.io/@logtape/lint.