mirror of
https://github.com/github/codeql.git
synced 2026-04-29 10:45:15 +02:00
CPP: Change SloppyGlobal.ql to a recommendation.
This commit is contained in:
@@ -2,8 +2,8 @@
|
||||
* @name Short global name
|
||||
* @description Global variables should have descriptive names, to help document their use, avoid namespace pollution and reduce the risk of shadowing with local variables.
|
||||
* @kind problem
|
||||
* @problem.severity warning
|
||||
* @precision high
|
||||
* @problem.severity recommendation
|
||||
* @precision very-high
|
||||
* @id cpp/short-global-name
|
||||
* @tags maintainability
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user