Fix eslint issue in pipeline - ai_agents
>>> [!note] Migrated issue <!-- Drupal.org comment --> <!-- Migrated from issue #3528209. --> Reported by: [anjaliprasannan](https://www.drupal.org/user/3637917) Related to !139 >>> <h3 id="summary-problem-motivation">Problem/Motivation</h3> <p>Getting this eslint issue in pipelines<br> /builds/issue/ai_agents-3517117/web/modules/custom/ai_agents-3517117/js/agents_form.js<br> 22:13 error 'filter' is never reassigned. Use 'const' instead prefer-const<br> 22:22 error Prefer HTMLInputElement#value to .val no-jquery/no-val<br> 25:15 error 'id' is never reassigned. Use 'const' instead prefer-const</p> <h4 id="summary-steps-reproduce">Steps to reproduce</h4> <p>In most of the MRs the pipelines throw the eslint issue </p> <h3 id="summary-proposed-resolution">Proposed resolution</h3> <h3 id="summary-remaining-tasks">Remaining tasks</h3> <h3 id="summary-ui-changes">User interface changes</h3> <h3 id="summary-api-changes">API changes</h3> <h3 id="summary-data-model-changes">Data model changes</h3>
issue