Being able to ignore CSS files

Migrated issue

Reported by: grimreaper

Related to !116 (merged)

Problem/Motivation

Hi,

I am enabling Gitlab CI on UI Suite Bootstrap theme, see #3417516: Enable Gitlab CI + Update README + Coding standards.

And I would like to be able to ignore some compiled CSS files in the stylelint job.

Proposed resolution

I have been to override the stylelint job scripts to use the "--ignore-path" option to be able to point to a .stylelintignore file but it does not seem to have an effect. While I already use this option in Makefile and GItlab CI on custom projects, scripts can be found in https://gitlab.com/florenttorregrosa-drupal/docker-drupal-project/-/tree/10.x?ref_type=heads if needed.

See the results in the MR ui_suite_bootstrap!163 (merged).

Remaining tasks

- Find a "fix"
- Discuss how to add this feature by default in Gitlab CI templates.

Thanks for any help.

Related issue: Issue #3417516

Edited by drupalbot