Documentation for Simbo's Packages
    Preparing search index...

    Module @simbo/cspell-config - v3.0.0

    Simbo's CSpell Configuration

    📦 @simbo/cspell-config

    A shared CSpell configuration.

    Requires Node.js ^24.15.0 || >=26.0.0.

    Install cspell and @simbo/cspell-config from the npm registry:

    npm i -D cspell @simbo/cspell-config
    

    CSpell 9 and 10 are supported. Both require the Node.js version specified above when used with this configuration; Node.js 22 is no longer supported.

    Create a CSpell configuration file in your project root and import the shared configuration.

    For example, a .cspell.yml:

    import: '@simbo/cspell-config'
    

    Add cspell command to your package.json scripts:

        "check:spelling": "cspell",
    

    Fenced code blocks and inline code are excluded from spelling checks.

    In CHANGELOG.md files, Git commit hashes of exactly seven hexadecimal characters at the start of list entries followed by a colon are also ignored, for example - cebccff: Fix template rendering. This covers Changesets-generated changelogs without excluding their descriptions from spelling checks.

    Hexadecimal strings in other Markdown prose remain checked: ordinary words can also consist entirely of hexadecimal letters. Use inline code for technical identifiers in prose.

    MIT © Simon Lepel

    default