mirror of
https://github.com/github/codeql.git
synced 2026-05-03 12:45:27 +02:00
JS: Update OK-style comments to $-style
This commit is contained in:
@@ -1,11 +1,11 @@
|
||||
function defaultParam(param = 0) {
|
||||
if (param > 0) {} // OK
|
||||
if (param > 0) {}
|
||||
}
|
||||
|
||||
function defaultPattern(obj, arr) {
|
||||
let { prop = 0 } = obj;
|
||||
if (prop > 0) {} // OK
|
||||
if (prop > 0) {}
|
||||
|
||||
let [ elm = 0 ] = arr;
|
||||
if (elm > 0) {} // OK
|
||||
if (elm > 0) {}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user