Requested by: Michael Letellier
Surfaced while triaging failing e2e checks on #3378 (unrelated to that PR's own changes - these files aren't touched there). ESLint and DeepSource: JavaScript both fail the build on 9 pre-existing sonarjs errors. Decision: suppress rather than fix (Michael, 2026-09-18) - add an inline // eslint-disable-next-line <rule> (with a short reason comment) at each site below, not a global rule change in the eslint config:
js/admin/legacy-views.js:398,401 - sonarjs/prefer-native-jquery-alternative
js/admin/style.js:1238 - sonarjs/super-linear-regex
js/formidable.js:896,2287,2549 - sonarjs/super-linear-regex
js/src/admin/admin.js:9652 - sonarjs/prefer-native-jquery-alternative; :10511 - sonarjs/super-linear-regex
js/src/admin/styles.js:83 - sonarjs/super-linear-regex
Once done, npx eslint should report 0 errors and DeepSource: JavaScript should pass, with the underlying jQuery/regex code left as-is.
Requested by: Michael Letellier
Surfaced while triaging failing e2e checks on #3378 (unrelated to that PR's own changes - these files aren't touched there). ESLint and DeepSource: JavaScript both fail the build on 9 pre-existing
sonarjserrors. Decision: suppress rather than fix (Michael, 2026-09-18) - add an inline// eslint-disable-next-line <rule>(with a short reason comment) at each site below, not a global rule change in the eslint config:js/admin/legacy-views.js:398,401-sonarjs/prefer-native-jquery-alternativejs/admin/style.js:1238-sonarjs/super-linear-regexjs/formidable.js:896,2287,2549-sonarjs/super-linear-regexjs/src/admin/admin.js:9652-sonarjs/prefer-native-jquery-alternative;:10511-sonarjs/super-linear-regexjs/src/admin/styles.js:83-sonarjs/super-linear-regexOnce done,
npx eslintshould report 0 errors and DeepSource: JavaScript should pass, with the underlying jQuery/regex code left as-is.