chore: upgrade eslint (#58575)

This commit is contained in:
Oliver Eyton-Williams
2025-02-07 21:48:43 +01:00
committed by GitHub
parent 54b028b10d
commit 6e9513a933
75 changed files with 2272 additions and 885 deletions
@@ -84,7 +84,6 @@ describe('add-text', () => {
expect(file.data[instructionsId]).toBe(instructionsSectionText);
});
// eslint-disable-next-line max-len
it('should add nothing if a section id does not appear in the md', () => {
const plugin = addText([missingId]);
plugin(mockAST, file);
@@ -110,7 +109,6 @@ describe('add-text', () => {
expect(file.data[descriptionId]).toEqual(expect.stringContaining(expected));
});
// eslint-disable-next-line max-len
it('should not add paragraphs when html elements are separated by whitespace', () => {
const plugin = addText([instructionsId]);
plugin(realisticAST, file);