Stylelint job should create default prettier config, and allow custom stylelint config
>>> [!note] Migrated issue
<!-- Drupal.org comment -->
<!-- Migrated from issue #3541738. -->
Reported by: [tomtech](https://www.drupal.org/user/254986)
Related to !402 !401 !399 !397
>>>
<h3 id="summary-problem-motivation">Problem/Motivation</h3>
<p>When <strong>stylelint</strong> runs, any css files with long selectors will be erroneously recommended to wrap the selector line.</p>
<p>In prettierrc.json, the printWidth is set to a large amount, specifically for css files, but prettierrc.json is not copied to the module root when stylelint is run.</p>
<h4 id="summary-steps-reproduce">Steps to reproduce</h4>
<p>Observe stylelint results on a css file with a long selector line.</p>
<h3 id="summary-proposed-resolution">Proposed resolution</h3>
<p>When <strong>eslint</strong> runs, it copies over <a href="https://git.drupalcode.org/project/drupal/-/blob/11.x/core/.prettierrc.json">prettierrc.json</a> from core, if it does not exist in the module codebase.</p>
<p><strong>stylelint</strong> should do the same.</p>
issue