Skip to content

CSpell Plugin

Rules that detect misspelling typos in source files using the general-purpose code-optimized "CSpell" spell-checker.
This plugin is provided in a standalone @flint.fyi/plugin-cspell npm package.

Terminal window
npm install @flint.fyi/plugin-cspell

See the CSpell spell checker documentation for more details on spell-checking code.

Rules that run CSpell to find likely spell-checking mistakes.

flint.config.ts
import { cspell, defineConfig, globs } from "flint";
export default defineConfig({
use: [
{
files: globs.all,
rules: cspell.presets.logical,
},
],
});
Flint RulePreset
spellingRuns the CSpell spell checker on any source code file.Logical
Made with ❤️‍🔥 in Boston by Josh Goldberg and contributors.