aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBelen Pruvost <belen.pruvost@sonarsource.com>2021-07-26 11:05:56 +0200
committersonartech <sonartech@sonarsource.com>2021-07-27 20:03:02 +0000
commit64f263cb122bb0c12c582be8832502ebace564dc (patch)
tree1a24839ec54011f3d719569c0b0d5af42f72be6c
parentd3f35f83ef52b4f41e3bb0f40c52ce4eab229619 (diff)
downloadsonarqube-64f263cb122bb0c12c582be8832502ebace564dc.tar.gz
sonarqube-64f263cb122bb0c12c582be8832502ebace564dc.zip
SONAR-15201 - Enable sonar-config plugin
-rw-r--r--build.gradle1
-rw-r--r--server/sonar-web/src/main/js/apps/settings/components/CategoryOverrides.ts4
2 files changed, 4 insertions, 1 deletions
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<string> = {
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<string> = {
typescript: LANGUAGES_CATEGORY,
'vb.net': LANGUAGES_CATEGORY,
'visual basic': LANGUAGES_CATEGORY,
- xml: LANGUAGES_CATEGORY
+ xml: LANGUAGES_CATEGORY,
+ yaml: LANGUAGES_CATEGORY,
};
export default CATEGORY_OVERRIDES;