зеркало из https://github.com/github/codeql.git
JavaScript: Move `--tolerate-parse-errors` extractor options into `options` file.
This commit is contained in:
Родитель
5681565d4a
Коммит
6b817203fd
|
@ -0,0 +1 @@
|
||||||
|
semmle-extractor-options: --tolerate-parse-errors
|
|
@ -8,5 +8,3 @@ var o = {
|
||||||
set y(...ys) {},
|
set y(...ys) {},
|
||||||
set z(z, ...zs) {}
|
set z(z, ...zs) {}
|
||||||
};
|
};
|
||||||
|
|
||||||
// semmle-extractor-options: --tolerate-parse-errors
|
|
||||||
|
|
|
@ -1,4 +1,2 @@
|
||||||
while
|
while
|
||||||
}
|
}
|
||||||
|
|
||||||
// semmle-extractor-options: --tolerate-parse-errors
|
|
||||||
|
|
|
@ -1,2 +1 @@
|
||||||
| invalid.json:3:1:3:1 | Error: Comments are not legal in JSON. |
|
| invalid.json:3:1:3:1 | Error: Comments are not legal in JSON. |
|
||||||
| invalid.json:4:1:4:1 | Error: Comments are not legal in JSON. |
|
|
||||||
|
|
|
@ -1,4 +1,3 @@
|
||||||
"hi"
|
"hi"
|
||||||
|
|
||||||
// JSON doesn't have comments
|
// JSON doesn't have comments
|
||||||
// semmle-extractor-options: --tolerate-parse-errors
|
|
||||||
|
|
|
@ -0,0 +1 @@
|
||||||
|
semmle-extractor-options: --tolerate-parse-errors
|
|
@ -23,5 +23,3 @@ var nns: Array<?number>;
|
||||||
var dns: Array<!number>;
|
var dns: Array<!number>;
|
||||||
var anys: Array<*>;
|
var anys: Array<*>;
|
||||||
var vars: Array<...number>;
|
var vars: Array<...number>;
|
||||||
|
|
||||||
// semmle-extractor-options: --tolerate-parse-errors
|
|
||||||
|
|
|
@ -0,0 +1 @@
|
||||||
|
semmle-extractor-options: --tolerate-parse-errors
|
|
@ -1 +1 @@
|
||||||
| err.yaml:4:1:4:1 | found unexpected end of stream |
|
| err.yaml:3:1:3:1 | found unexpected end of stream |
|
||||||
|
|
|
@ -1,3 +1,2 @@
|
||||||
"unterminated string
|
"unterminated string
|
||||||
# semmle-extractor-options: --tolerate-parse-errors
|
|
||||||
|
|
||||||
|
|
|
@ -0,0 +1 @@
|
||||||
|
semmle-extractor-options: --tolerate-parse-errors
|
|
@ -0,0 +1 @@
|
||||||
|
semmle-extractor-options: --tolerate-parse-errors
|
|
@ -0,0 +1 @@
|
||||||
|
semmle-extractor-options: --tolerate-parse-errors
|
|
@ -0,0 +1 @@
|
||||||
|
semmle-extractor-options: --tolerate-parse-errors
|
|
@ -12,5 +12,3 @@ this.addPropertyListener(prop.name, function(_, _, _, a) {
|
||||||
function f(x, y, x) {
|
function f(x, y, x) {
|
||||||
'use strict';
|
'use strict';
|
||||||
}
|
}
|
||||||
|
|
||||||
// semmle-extractor-options: --tolerate-parse-errors
|
|
||||||
|
|
|
@ -0,0 +1 @@
|
||||||
|
semmle-extractor-options: --tolerate-parse-errors
|
|
@ -1,4 +1,2 @@
|
||||||
function findBox() {
|
function findBox() {
|
||||||
return $("box.important
|
return $("box.important
|
||||||
|
|
||||||
// semmle-extractor-options: --tolerate-parse-errors
|
|
||||||
|
|
|
@ -1,3 +1 @@
|
||||||
😼😼
|
😼😼
|
||||||
|
|
||||||
// semmle-extractor-options: --tolerate-parse-errors
|
|
||||||
|
|
|
@ -0,0 +1 @@
|
||||||
|
semmle-extractor-options: --tolerate-parse-errors
|
|
@ -1,4 +1,3 @@
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
%some made-up template syntax
|
%some made-up template syntax
|
||||||
</script>
|
</script>
|
||||||
semmle-extractor-options: --tolerate-parse-errors
|
|
||||||
|
|
|
@ -3,4 +3,3 @@ common.autofocus('#id_password');
|
||||||
{% else %}
|
{% else %}
|
||||||
common.autofocus('#id_username');
|
common.autofocus('#id_username');
|
||||||
{% endif %}
|
{% endif %}
|
||||||
// semmle-extractor-options: --tolerate-parse-errors
|
|
||||||
|
|
|
@ -5,4 +5,3 @@ common.autofocus('#id_password');
|
||||||
common.autofocus('#id_username');
|
common.autofocus('#id_username');
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</script>
|
</script>
|
||||||
semmle-extractor-options: --tolerate-parse-errors
|
|
||||||
|
|
|
@ -5,4 +5,3 @@
|
||||||
{{/config}}
|
{{/config}}
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
semmle-extractor-options: --tolerate-parse-errors
|
|
||||||
|
|
|
@ -0,0 +1 @@
|
||||||
|
semmle-extractor-options: --tolerate-parse-errors
|
Загрузка…
Ссылка в новой задаче