Technically speaking GuardRails works for front-end code.
However, our rule-set has been tuned to not report security issues in front-end components.
Front-end related security issues typically don't have a serious security impact and thus don't qualify as GuardRails issues.