Move default phpcs configuration file and clean up unneeded lines in it
>>> [!note] Migrated issue <!-- Drupal.org comment --> <!-- Migrated from issue #3427357. --> Reported by: [kristiaanvandeneynde](https://www.drupal.org/user/1345130) Related to !156 >>> <h3 id="summary-problem-motivation">Problem/Motivation</h3> <p><del><span class="drupalorg-gitlab-issue-link project-issue-status-info project-issue-status-7"><a href="https://www.drupal.org/project/gitlab_templates/issues/3426392" title="Status: Closed (fixed)">#3426392: cspell: ignore commonly ignored paths by default</a></span> added the following:</del></p> <pre># If this variable is empty, provide some sensible defaults.<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; [[ $_CSPELL_IGNORE_PATHS == "" ]] &amp;&amp; export _CSPELL_IGNORE_PATHS='"**/.*.json",".*ignore","composer.json","composer.lock","**/LICENSE.txt","COPYRIGHT.txt","MAINTAINERS.txt","package.json","yarn.lock","phpstan*"'</pre><p><del>But when using GitLab Templates, you may also want to add the following file to your repo: phpcs.xml<br> This file tends to contain weird words that will trigger a spelling error.</del><br> Some words from the default phpcs.xml.dist template are reported by cspell. This shouldn't happen by default.</p> <h3 id="summary-proposed-resolution">Proposed resolution</h3> <p>A) Clean up the ddev and lando lines for the phpcs.xml.dist default file, as they&rsquo;re not really needed<br> <del>B) Add the words to the cspell job for people with the "old" file</del> (will happen in <span class="drupalorg-gitlab-issue-link project-issue-status-info project-issue-status-7"><a href="https://www.drupal.org/project/gitlab_templates/issues/3426136" title="Status: Closed (fixed)">#3426136: Execute CSPELL in project root folder and make fixing words easier</a></span>)<br> C) Move the file to the assets folder</p>
issue