You can define empty quality profiles with no rules for the languages you're not interested in, and then activate those empty profiles in your project.
Go to your organization's page, and then the Quality Profiles tab
Click Create, enter a name (for example "empty"), select the language
- You will need to repeat this for each language
Go to your project's page, and then Administration / Quality Profiles, and select the newly created "empty" quality profile for each language
If that sounds tedious, you could script it, with the help of the web API:
token=your-sonarcloud-token
org=your-sonarcloud-organization-key
project=your-sonarcloud-project-key
languages=(abap apex c cobol cpp cs css flex go java js jsp kotlin objc php plsql py ruby scala swift ts tsql vbnet web xml)
for lang in "${languages[@]}"; do
params="language=$lang&name=empty&organization=$org"
curl -u"$token:" "https://sonarcloud.io/api/qualityprofiles/create?$params" -X POST
params="project=$project&language=$lang&qualityProfile=empty&organization=$org"
curl -u"$token:" "https://sonarcloud.io/api/qualityprofiles/add_project?$params" -X POST
done
This will set the empty profile for all languages. So you will need to go to Administration / Quality Profiles of your project to set a non-empty profile for the languages you're interested in.