From 64f263cb122bb0c12c582be8832502ebace564dc Mon Sep 17 00:00:00 2001 From: Belen Pruvost Date: Mon, 26 Jul 2021 11:05:56 +0200 Subject: [PATCH] SONAR-15201 - Enable sonar-config plugin --- build.gradle | 1 + .../src/main/js/apps/settings/components/CategoryOverrides.ts | 4 +++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/build.gradle b/build.gradle index a1acc63cf76..1b2e8beb690 100644 --- a/build.gradle +++ b/build.gradle @@ -268,6 +268,7 @@ subprojects { dependency 'com.sonarsource.slang:sonar-apex-plugin:1.8.3.2219' dependency 'com.sonarsource.swift:sonar-swift-plugin:4.3.1.4892' dependency 'com.sonarsource.tsql:sonar-tsql-plugin:1.5.1.4340' + dependency 'org.sonarsource.config:sonar-config-plugin:1.0.0.32' dependency 'org.sonarsource.css:sonar-css-plugin:1.4.2.2002' dependency 'org.sonarsource.dotnet:sonar-csharp-plugin:8.25.0.33663' dependency 'org.sonarsource.dotnet:sonar-vbnet-plugin:8.25.0.33663' diff --git a/server/sonar-web/src/main/js/apps/settings/components/CategoryOverrides.ts b/server/sonar-web/src/main/js/apps/settings/components/CategoryOverrides.ts index 6a185b669fa..ecbe6c72784 100644 --- a/server/sonar-web/src/main/js/apps/settings/components/CategoryOverrides.ts +++ b/server/sonar-web/src/main/js/apps/settings/components/CategoryOverrides.ts @@ -32,6 +32,7 @@ const CATEGORY_OVERRIDES: T.Dict = { java: LANGUAGES_CATEGORY, javascript: LANGUAGES_CATEGORY, 'javascript / typescript': LANGUAGES_CATEGORY, + json: LANGUAGES_CATEGORY, kotlin: LANGUAGES_CATEGORY, php: LANGUAGES_CATEGORY, 'pl/i': LANGUAGES_CATEGORY, @@ -45,7 +46,8 @@ const CATEGORY_OVERRIDES: T.Dict = { typescript: LANGUAGES_CATEGORY, 'vb.net': LANGUAGES_CATEGORY, 'visual basic': LANGUAGES_CATEGORY, - xml: LANGUAGES_CATEGORY + xml: LANGUAGES_CATEGORY, + yaml: LANGUAGES_CATEGORY, }; export default CATEGORY_OVERRIDES; -- 2.39.5