Adding Custom ESLint Rules to SAST in the Pipeline?

,

Hello Team,

Is there a way to override or add new rule to ESLint provided by Gitlab SAST?

For example, I’d like to add the following rule to SAST:

rules: { “no-var”: 1 }

Which will rigger a warning as soon as a “var” is found in the application code. The pre-defined SAST does not trigger this warning/error at all.

1 Like

As far as I can see something like that is available in Ultimate tier - Static Application Security Testing (SAST) | GitLab