]> source.dussan.org Git - sonarqube.git/commitdiff
SONAR-15201 - Enable sonar-config plugin
authorBelen Pruvost <belen.pruvost@sonarsource.com>
Mon, 26 Jul 2021 09:05:56 +0000 (11:05 +0200)
committersonartech <sonartech@sonarsource.com>
Tue, 27 Jul 2021 20:03:02 +0000 (20:03 +0000)
build.gradle
server/sonar-web/src/main/js/apps/settings/components/CategoryOverrides.ts

index a1acc63cf76d97b06f8129c8ba24880a221c2a57..1b2e8beb690b31bfbaa8b39fb96105f701339848 100644 (file)
@@ -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'
index 6a185b669facb8b556c8ac764d8f1dad5bd71d71..ecbe6c727847a4556766d026fabd0e20d04ed99c 100644 (file)
@@ -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;