mirror of
https://github.com/DavidAnson/markdownlint.git
synced 2025-09-21 21:30:47 +02:00
Update code to fix or document false positives for CodeQL warnings.
This commit is contained in:
parent
f1f6868a2c
commit
aa7fbce2dd
3 changed files with 7 additions and 2 deletions
|
@ -36,6 +36,8 @@ function assertLintResults(results: markdownlint.LintResults) {
|
|||
assert(!results["string"][0].fixInfo.deleteCount);
|
||||
assert.equal(results["string"][0].fixInfo.insertText, "\n");
|
||||
assert.equal(results["../bad.md"].length, 2);
|
||||
// Deliberate assignment to unused variable validates types
|
||||
// False-positive for js/useless-assignment-to-local
|
||||
results = {
|
||||
"key": [
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue