Move default phpcs configuration file and clean up unneeded lines in it
Problem/Motivation
#3426392: cspell: ignore commonly ignored paths by default added the following:
# If this variable is empty, provide some sensible defaults.
[[ $_CSPELL_IGNORE_PATHS == "" ]] && export _CSPELL_IGNORE_PATHS='"**/.*.json",".*ignore","composer.json","composer.lock","**/LICENSE.txt","COPYRIGHT.txt","MAINTAINERS.txt","package.json","yarn.lock","phpstan*"'
But when using GitLab Templates, you may also want to add the following file to your repo: phpcs.xml
This file tends to contain weird words that will trigger a spelling error.
Some words from the default phpcs.xml.dist template are reported by cspell. This shouldn't happen by default.
Proposed resolution
A) Clean up the ddev and lando lines for the phpcs.xml.dist default file, as they’re not really needed
B) Add the words to the cspell job for people with the "old" file (will happen in #3426136: Execute CSPELL in project root folder and make fixing words easier)
C) Move the file to the assets folder
Edited by drupalbot