cspell: ignore commonly ignored paths by default

Migrated issue

Reported by: fjgarlin

Related to !150 (merged)

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

Related issue: Issue #3405955

Edited by drupalbot