mirror of
https://github.com/github/codeql.git
synced 2026-05-02 20:25:13 +02:00
QL code and tests for C#/C++/JavaScript.
This commit is contained in:
17
javascript/ql/src/Comments/CommentedOutCodeCommon.qhelp
Normal file
17
javascript/ql/src/Comments/CommentedOutCodeCommon.qhelp
Normal file
@@ -0,0 +1,17 @@
|
||||
<!DOCTYPE qhelp PUBLIC
|
||||
"-//Semmle//qhelp//EN"
|
||||
"qhelp.dtd">
|
||||
<qhelp>
|
||||
<example>
|
||||
<p>
|
||||
In the following example, a <code>console.log</code> method call, perhaps originally used
|
||||
for debugging, is left in the code, but commented out. It should be removed altogether.
|
||||
</p>
|
||||
|
||||
<sample src="examples/CommentedOutCode.js" />
|
||||
|
||||
</example>
|
||||
|
||||
<include src="CommentedOutCodeReferences.qhelp" />
|
||||
|
||||
</qhelp>
|
||||
Reference in New Issue
Block a user