SonarQube by default use master branch from gitlab/github. So if gitlab has main branch by default, please create to master branch.
For example, Netlify Forms do their magic based on automatic detection of specially-marked form tags in static HTML files. Javascript tech resources urls
https://bigfrontend.dev/https://javascript.info/