diff options
author | Wouter Admiraal <wouter.admiraal@sonarsource.com> | 2019-06-26 15:28:32 +0200 |
---|---|---|
committer | sonartech <sonartech@sonarsource.com> | 2019-06-28 08:45:56 +0200 |
commit | 4e4dc8dd974f5c5c5dc585e9a2032d310e7a54b8 (patch) | |
tree | ad9fea60b0f9ccd8e5e74d954369d81da8f1ee9a /server/sonar-web/src/main/js/helpers/constants.ts | |
parent | 3e75aa82f6eac9e0f410a12e934cfe28adbab3a1 (diff) | |
download | sonarqube-4e4dc8dd974f5c5c5dc585e9a2032d310e7a54b8.tar.gz sonarqube-4e4dc8dd974f5c5c5dc585e9a2032d310e7a54b8.zip |
SONAR-12118 Disable UNKNOWN issue type for custom rules
Diffstat (limited to 'server/sonar-web/src/main/js/helpers/constants.ts')
-rw-r--r-- | server/sonar-web/src/main/js/helpers/constants.ts | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/server/sonar-web/src/main/js/helpers/constants.ts b/server/sonar-web/src/main/js/helpers/constants.ts index 27a7a0bc86a..cf1546d0203 100644 --- a/server/sonar-web/src/main/js/helpers/constants.ts +++ b/server/sonar-web/src/main/js/helpers/constants.ts @@ -27,13 +27,7 @@ export const ISSUE_TYPES: T.IssueType[] = [ 'CODE_SMELL', 'SECURITY_HOTSPOT' ]; -export const RULE_TYPES: T.RuleType[] = [ - 'BUG', - 'VULNERABILITY', - 'CODE_SMELL', - 'SECURITY_HOTSPOT', - 'UNKNOWN' -]; +export const RULE_TYPES: T.RuleType[] = ['BUG', 'VULNERABILITY', 'CODE_SMELL', 'SECURITY_HOTSPOT']; export const RULE_STATUSES = ['READY', 'BETA', 'DEPRECATED']; export const CHART_COLORS_RANGE_PERCENT = [ |