I am using SonarQube trying to write a custom rule in Javascript. The rule will detect any hard coded credentials that are present and throw an error. I was curious if there might be something someone has already done for this or maybe has some insight on how to go about doing this.