Introducing Dylint Spellcheck (Rust) 0 ▲ code.dblock.org | tech blog 1 hour ago · Tech · hide · 0 comments After adding spelling checks to RuboCop, I wanted the same thing for Rust. Introducing dylint-spellcheck, a Dylint library for checking spelling in Rust comments, Rustdoc attributes, Markdown, and plain text. It uses the Rust implementation of Kotoshu and ships an American English dictionary. The idea is the same as the Ruby version: fix actual typos, accept project-specific vocabulary, and run spelling alongside the other lint checks. Getting Started The examples below use released 0.1.0. Install Rust through rustup, then install Dylint: cargo +stable install cargo-dylint dylint-link --version 6.2.0 --locked Add the library to your project’s Cargo.toml: [workspace.metadata.dylint] libraries = [ { git = "https://github.com/dblock/dylint-spellcheck", tag = "v0.1.0" }, ] Dylint libraries are distributed through Git. Dylint downloads and builds this one with its pinned nightly compiler without changing the application’s normal toolchain. There is no crate to add to your application’s… No comments yet. Log in to reply on the Fediverse. Comments will appear here.