Rename 'Common' to 'Text' (#714)

This commit is contained in:
Nils Werner 2022-01-17 17:05:01 +01:00 committed by GitHub
parent 11df8ffcec
commit b46b76025c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
6 changed files with 6 additions and 6 deletions

View File

@ -109,7 +109,7 @@ const languageToJiraProject = new Map(Object.entries({
"XML": "SONARXML",
"CLOUDFORMATION": "SONARIAC",
"TERRAFORM": "SONARIAC",
"COMMON": "SONARCOMMON",
"TEXT": "SONARTEXT",
}));
const languageToGithubProject = new Map(Object.entries({
@ -141,7 +141,7 @@ const languageToGithubProject = new Map(Object.entries({
"CLOUDFORMATION": "sonar-iac",
"TERRAFORM": "sonar-iac",
"SECRETS": "sonar-secrets",
"COMMON": "sonar-text",
"TEXT": "sonar-text",
}));
function ticketsAndImplementationPRsLinks(ruleNumber: string, title: string, language?: string) {

View File

@ -32,7 +32,7 @@ const languageToSonarpedia = new Map<string, string[]>(Object.entries({
'html': ['HTML'],
'cloudformation': ['CLOUDFORMATION'],
'terraform': ['TERRAFORM'],
'common': ['COMMON']
'text': ['TEXT']
}));
export function useRuleCoverage() {

View File

@ -12,7 +12,6 @@ LANG_TO_LABEL = {'abap': 'abap',
'apex': 'slang',
'cfamily': 'cfamily',
'cobol': 'cobol',
'common': 'common',
'csharp': 'dotnet',
'css': 'css',
'flex': 'flex',
@ -32,6 +31,7 @@ LANG_TO_LABEL = {'abap': 'abap',
'secrets': 'secrets',
'solidity': 'solidity',
'swift': 'swift',
'text': 'text',
'tsql': 'tsql',
'vb6': 'vb6',
'vbnet': 'dotnet',

View File

@ -1,7 +1,7 @@
{
"title": "Using bidirectional characters is security-sensitive",
"type": "SECURITY_HOTSPOT",
"status": "ready",
"status": "beta",
"remediation": {
"func": "Constant\/Issue",
"constantCost": "5min"

View File

@ -1 +1 @@
`abap`, `apex`, `cfamily`, `cobol`, `common`, `csharp`, `css`, `flex`, `go`, `html`, `java`, `javascript`, `kotlin`, `php`, `pli`, `plsql`, `python`, `rpg`, `ruby`, `rust`, `scala`, `secrets`, `solidity`, `swift`, `tsql`, `vb6`, `vbnet`, `cloudformation`, `terraform`, or `xml`
`abap`, `apex`, `cfamily`, `cobol`, `csharp`, `css`, `flex`, `go`, `html`, `java`, `javascript`, `kotlin`, `php`, `pli`, `plsql`, `python`, `rpg`, `ruby`, `rust`, `scala`, `secrets`, `solidity`, `swift`, `text`, `tsql`, `vb6`, `vbnet`, `cloudformation`, `terraform`, or `xml`