make sure to use .eslintignore when running yarn eslint, this will ensure that cli failure and editor squiggles are always equal

This commit is contained in:
Johannes Rieken
2022-02-02 12:37:29 +01:00
parent 138068aff3
commit 7ccb868835
7 changed files with 514 additions and 470 deletions

View File

@@ -198,7 +198,7 @@ suite('markdown.DocumentLinkProvider', () => {
'[b](https://1.com) `[b](https://2.com)',
'` [b](https://3.com)');
const links = await getLinksForFile(text);
assert.deepStrictEqual(links.map(l => l.target?.authority), ['1.com', '3.com'])
assert.deepStrictEqual(links.map(l => l.target?.authority), ['1.com', '3.com']);
});
test('Should not consider links in multiline inline code span with new line after the first backtick', async () => {
@@ -220,5 +220,3 @@ suite('markdown.DocumentLinkProvider', () => {
assert.strictEqual(links.length, 1);
});
});