mirror of
https://github.com/DavidAnson/markdownlint.git
synced 2025-12-17 06:20:12 +01:00
Address new lint issues from previous commit.
Some checks are pending
Checkers / linkcheck (push) Waiting to run
Checkers / spellcheck (push) Waiting to run
CI / build (20, macos-latest) (push) Waiting to run
CI / build (20, ubuntu-latest) (push) Waiting to run
CI / build (20, windows-latest) (push) Waiting to run
CI / build (22, macos-latest) (push) Waiting to run
CI / build (22, ubuntu-latest) (push) Waiting to run
CI / build (22, windows-latest) (push) Waiting to run
CI / build (24, macos-latest) (push) Waiting to run
CI / build (24, ubuntu-latest) (push) Waiting to run
CI / build (24, windows-latest) (push) Waiting to run
CI / pnpm (push) Waiting to run
CodeQL / Analyze (push) Waiting to run
TestRepos / build (latest, ubuntu-latest) (push) Waiting to run
UpdateTestRepos / update (push) Waiting to run
Some checks are pending
Checkers / linkcheck (push) Waiting to run
Checkers / spellcheck (push) Waiting to run
CI / build (20, macos-latest) (push) Waiting to run
CI / build (20, ubuntu-latest) (push) Waiting to run
CI / build (20, windows-latest) (push) Waiting to run
CI / build (22, macos-latest) (push) Waiting to run
CI / build (22, ubuntu-latest) (push) Waiting to run
CI / build (22, windows-latest) (push) Waiting to run
CI / build (24, macos-latest) (push) Waiting to run
CI / build (24, ubuntu-latest) (push) Waiting to run
CI / build (24, windows-latest) (push) Waiting to run
CI / pnpm (push) Waiting to run
CodeQL / Analyze (push) Waiting to run
TestRepos / build (latest, ubuntu-latest) (push) Waiting to run
UpdateTestRepos / update (push) Waiting to run
This commit is contained in:
parent
724b4b2da8
commit
4a1f32d874
3 changed files with 14 additions and 15 deletions
|
|
@ -142,11 +142,10 @@ export function getEvents(
|
|||
.trim();
|
||||
if ((text.length > 0) && !text.includes("]")) {
|
||||
/** @type {Event[]} */
|
||||
const artificialEvents = [];
|
||||
artificialEvents.push(
|
||||
const artificialEvents = [
|
||||
[ "enter", undefinedReferenceType, tokenizeContext ],
|
||||
[ "enter", undefinedReference, tokenizeContext ]
|
||||
);
|
||||
];
|
||||
for (const event of eventsToReplicate) {
|
||||
const [ kind, token ] = event;
|
||||
// Copy token because the current object will get modified by the parser
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue