Skip to content

chore: modernized rule generator#4106

Merged
WilcoFiers merged 2 commits intodevelopfrom
rule-generator-tweaks
Aug 1, 2023
Merged

chore: modernized rule generator#4106
WilcoFiers merged 2 commits intodevelopfrom
rule-generator-tweaks

Conversation

@WilcoFiers
Copy link
Copy Markdown
Contributor

Was working on a new rule, spotted the indentation was all off. I figured that while I'm fixing that, I might as well modernise a couple things.

@WilcoFiers WilcoFiers requested a review from a team as a code owner July 28, 2023 10:59

// TODO: Replace this with real tests for this check
it('returns false when img has no alt', () => {
const args = checkSetup('<img id="target" />');
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
const args = checkSetup('<img id="target" />');
const params = checkSetup('<img id="target" />');

assert.isFalse(rule.matches(vNode.actualNode, vNode));
});
});
`,
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
`,
`,

@WilcoFiers WilcoFiers merged commit 758b069 into develop Aug 1, 2023
@WilcoFiers WilcoFiers deleted the rule-generator-tweaks branch August 1, 2023 10:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants