Skip to content

In development. Expect rough edges and changes. The source code is not public yet.

Deno 4 min read Announcement mediumAdept

Publish a lint rule, get a prize

Deno 2.2 adds a plugin system for `deno lint`, letting anyone write custom lint rules in TypeScript using either an ESLint-style AST visitor API or CSS-like node selectors, with types under the `Deno.lint` namespace. A worked example flags variables named `foo`, then shows publishing the plugin to JSR via `exports` in deno.json and `deno publish`, and consuming plugins from jsr: or npm: specifiers in `lint.plugins`. A contest (now closed) rewarded published rules with stickers; standout submissions included no-empty-function, ban-enum and ports of ESLint rules like curly.

Assumes: JavaScript ASTsESLint rules

Related posts

  • Deno 2.2: OpenTelemetry, Lint Plugins, node:sqlite

    Deno mediumAdept

    Deno 2.2 adds built-in OpenTelemetry that auto-instruments console.log, Deno.serve and fetch and exports to an OTLP endpoint behind the --unstable-otel flag. It also adds an ESLint-like JavaScript lint plugin API with visitor and CSS-selector syntax, 15 new JSX/React lint rules, and support for node:sqlite. Other changes include JSDoc @import support and per-workspace compilerOptions in deno check, 5-20x faster LSP completions, wildcard and command-less tasks, interactive deno outdated, smaller and faster deno compile output, explicit warmup and n options for deno bench, WebTransport/QUIC APIs, and upgrades to TypeScript 5.7 and V8 13.4.

  • Deno 1.42: Better dependency management with JSR

    Deno mediumAdept

    Deno 1.42 adds first-class JSR support through new `deno publish` and `deno add` subcommands, which install packages from JSR and npm and write import map entries. It also adds LSP completions for jsr: specifiers and broadens Node compatibility across crypto, worker_threads, fs, http2 and other modules. Further changes include shell improvements in `deno task` (cross-platform shebangs, `$?`, redirects), `deno lint --fix`, and dropping mid-execution type checking under `--check`. Timers were rewritten so creating a million timers takes 1.4s instead of 5.9s with up to 70% less memory, startup is 10% faster on Linux, and `DENO_FUTURE=1` previews Deno 2 removals.

  • Deno 1.21 Release Notes

    Deno mediumAdept

    Deno 1.21 adds a `deno check` subcommand and begins a phased plan to disable type checking by default in `deno run`, citing type-check cost as the main startup bottleneck and alignment with the proposed native JS type annotations. Other changes include browser-aligned `reportError` and global `"error"` event handling, cache-based incremental `deno fmt`/`deno lint` (second runs on deno_std drop from ~1.8s to ~0.11s), statistically driven iteration counts and grouped baselines in `deno bench`, and new unstable `Deno.spawn`/`Deno.spawnChild` subprocess APIs built on web streams. The release also brings VSCode extension improvements (config autodiscovery, per-path enablement, Testing API), REPL `--eval-file`, and testing utilities such as BDD, mocking, snapshots and FakeTime.

  • Introducing JSR - the JavaScript Registry

    Deno mediumAdept

    JSR, the JavaScript Registry, is in public beta as a free, MIT-licensed, ESM-only registry built for TypeScript that works with Deno and npm-based runtimes like Node, Bun and Cloudflare Workers. Authors publish TypeScript source directly, and JSR generates API docs, .d.ts files and transpiled JavaScript for Node consumers. A walkthrough publishes a small package with jsr.json, consumes it from an Astro project via `npx jsr add`, and sets up GitHub Actions publishing with OIDC tokens and provenance transparency logs. Packages also get a quality score based on documentation, fast-type-checkable declarations and runtime compatibility.

  • Deno 2.3: Improved deno compile, local npm packages, and more

    Deno mediumAdept

    Deno 2.3 lets deno compile bundle programs that use FFI and Node native add-ons, adds --include/--exclude control over embedded files, and exposes Deno.build.standalone to detect compiled binaries. Local npm packages can now be used through a "patch" entry in deno.json. deno fmt gains formatting of CSS, HTML and SQL in tagged templates plus 14 new options, and OpenTelemetry support adds span events, cross-service context propagation, node:http auto-instrumentation and V8 heap metrics. deno install is about 2x faster when npm dependencies are cached, thanks to in-memory npm metadata caching and lockfile v5, with a benchmark showing 2.5x on a Vite React template. The release also adds the JavaScript `using` keyword, coverage ignore comments and TypeScript 5.8 with V8 13.5.

The quest for software engineering knowledge.

Look:
Layout: