Fix local ./lint.sh stylelint script errors for CCC
>>> [!note] Migrated issue
<!-- Drupal.org comment -->
<!-- Migrated from issue #3576094. -->
Reported by: [kristen pol](https://www.drupal.org/user/8389)
Related to !118
>>>
<p>[Tracker]<br>
<strong>Update Summary: </strong>[One-line status update for stakeholders]<br>
<strong>Check-in Date: </strong>MM/DD/YYYY<br>
<strong>Blocked by: </strong>[#XXXXXX] (New issues on new lines)<br>
<strong>Additional Collaborators: </strong> @username1, @username2<br>
<em>Metadata is used by the <a href="https://www.drupalstarforge.ai/" title="AI Tracker">AI Tracker.</a> Docs and additional fields <a href="https://www.drupalstarforge.ai/ai-dashboard/docs" title="AI Issue Tracker Documentation">here</a>.</em><br>
[/Tracker]</p>
<h3 id="summary-problem-motivation">Problem/Motivation</h3>
<p>We have a ./lint.sh script in the module that people can run to check for issues before committing.</p>
<p>Right now, the pipeline is clean with no stylelint errors, but when I run ./lint.sh locally, I get the following errors, likely due to version mismatches on my local compared to GitLab CI.</p>
<pre>Running stylelint (CSS linting)...<br><br>css/ai_context.css<br> 1:1 ✖ Expected // for comments instead of /* scss/comment-no-loud<br> 6:1 ✖ Expected // for comments instead of /* scss/comment-no-loud<br> 8:21 ✖ Expected "currentColor" to be "currentcolor" value-keyword-case<br> 19:1 ✖ Expected // for comments instead of /* scss/comment-no-loud<br> 32:68 ✖ Expected "0.19" to be "19%" alpha-value-notation<br> 37:61 ✖ Expected "0.15" to be "15%" alpha-value-notation<br> 40:1 ✖ Expected // for comments instead of /* scss/comment-no-loud<br> 46:1 ✖ Expected // for comments instead of /* scss/comment-no-loud<br> 67:1 ✖ Expected // for comments instead of /* scss/comment-no-loud<br> 72:1 ✖ Expected // for comments instead of /* scss/comment-no-loud<br> 82:66 ✖ Expected single quotes string-quotes<br> 83:66 ✖ Expected single quotes string-quotes<br> 92:1 ✖ Expected // for comments instead of /* scss/comment-no-loud<br> 97:1 ✖ Expected // for comments instead of /* scss/comment-no-loud<br> 103:1 ✖ Expected // for comments instead of /* scss/comment-no-loud<br> 112:1 ✖ Expected // for comments instead of /* scss/comment-no-loud<br> 122:1 ✖ Expected // for comments instead of /* scss/comment-no-loud<br> 129:1 ✖ Expected // for comments instead of /* scss/comment-no-loud<br> 136:1 ✖ Expected // for comments instead of /* scss/comment-no-loud<br><br>css/ai_context_overview.css<br> 1:1 ✖ Expected // for comments instead of /* scss/comment-no-loud<br> 43:31 ✖ Expected single quotes string-quotes<br> 45:12 ✖ Expected single quotes string-quotes<br><br>22 problems (22 errors, 0 warnings)<br><br>✗ stylelint (CSS linting) failed</pre><h3 id="summary-proposed-resolution">Proposed resolution</h3>
<p>Figure out how to make ./lint.sh show no stylelint errors when there are no errors in GitLab CI.</p>
<h3 id="summary-remaining-tasks">Target date or deadline</h3>
<p>March 2026</p>
<h3 id="summary-remaining-tasks">Remaining tasks</h3>
<ul>
<li>Fix it or document how to fix on people's local machine if it's a versioning issue</li>
<li>Review and test</li>
</ul>
<h3 id="summary-ai-usage">AI usage (if applicable)</h3>
<p>[ ] AI Assisted Issue<br>
This issue was generated with AI assistance, but was reviewed and refined by the creator.</p>
<p>[ ] AI Assisted Code<br>
This code was mainly generated by a human, with AI autocompleting or parts AI generated, but under full human supervision.</p>
<p>[ ] AI Generated Code<br>
This code was mainly generated by an AI with human guidance, and reviewed, tested, and refined by a human.</p>
<p>[ ] Vibe Coded<br>
This code was generated by an AI and has only been functionally tested.</p>
issue