Stylelint: allow empty input
>>> [!note] Migrated issue
<!-- Drupal.org comment -->
<!-- Migrated from issue #3420529. -->
Reported by: [grimreaper](https://www.drupal.org/user/2388214)
Related to !125
>>>
<h3 id="summary-problem-motivation">Problem/Motivation</h3>
<p>On Gin Layout Builder, there are currently CSS files only obtained using SASS compilation.</p>
<p>In <span class="drupalorg-gitlab-issue-link project-issue-status-info project-issue-status-7"><a href="https://www.drupal.org/project/gin_lb/issues/3419267" title="Status: Closed (fixed)">#3419267: Enable Gitlab CI + Update README + coding standards + Stop compiling JS</a></span>, I am enabling Gitlab CI and adding a .stylelintignore file to ignore those CSS files.</p>
<p>But then in the job <a href="https://git.drupalcode.org/project/gin_lb/-/jobs/784600">https://git.drupalcode.org/project/gin_lb/-/jobs/784600</a>, I obtain:</p>
<pre>Error: All input files were ignored because of the ignore pattern. Either change your input, ignore pattern or use "--allow-empty-input" to allow no inputs<br> at standalone</pre><h4 id="summary-steps-reproduce">Steps to reproduce</h4>
<p>Have a .stylelintignore ignoring all the detected CSS files.</p>
<h3 id="summary-proposed-resolution">Proposed resolution</h3>
<p>Add the --allow-empty-input option to the command.</p>
<p><a href="https://git.drupalcode.org/project/gin_lb/-/jobs/784622">https://git.drupalcode.org/project/gin_lb/-/jobs/784622</a></p>
<h3 id="summary-remaining-tasks">Remaining tasks</h3>
<p>Provide MR: Done<br>
Needs review and approval.</p>
> Related issue: [Issue #3419267](https://www.drupal.org/node/3419267)
> Related issue: [Issue #3417807](https://www.drupal.org/node/3417807)
issue