Stylelint: allow empty input

Migrated issue

Reported by: grimreaper

Related to !125 (merged)

Problem/Motivation

On Gin Layout Builder, there are currently CSS files only obtained using SASS compilation.

In #3419267: Enable Gitlab CI + Update README + coding standards + Stop compiling JS, I am enabling Gitlab CI and adding a .stylelintignore file to ignore those CSS files.

But then in the job https://git.drupalcode.org/project/gin_lb/-/jobs/784600, I obtain:

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
    at standalone

Steps to reproduce

Have a .stylelintignore ignoring all the detected CSS files.

Proposed resolution

Add the --allow-empty-input option to the command.

https://git.drupalcode.org/project/gin_lb/-/jobs/784622

Remaining tasks

Provide MR: Done
Needs review and approval.

Related issue: Issue #3419267

Related issue: Issue #3417807

Edited by drupalbot