cspell: ignore commonly ignored paths by default

Issue information

From user: fjgarlin

Related to !150 (merged)

Contribution record

Fork management

Problem/Motivation

Suggested here #3405955: Add job for CSPELL in contrib pipeline.

Some files, like the composer.json file, contain usernames that are reported by cspell, so we should ignore them by default.

Core does that already: https://git.drupalcode.org/project/drupal/-/blob/11.x/core/.cspell.json?ref_type=heads#L6-41

Steps to reproduce

If you have your username in the composer.json file in the list of maintainers, and it is not a known word (eg: fjgarlin), the cspell job will report it.

Proposed resolution

Add a few sensible defaults to be ignored.

Remaining tasks

MR

Edited by drupalbot
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information