Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Tests] jsx-no-script-url: Improve tests #3849

Merged

Conversation

radu2147
Copy link
Contributor

@radu2147 radu2147 commented Nov 4, 2024

While developing this, I noticed that test files for this rule don't explicitly cover the case when a non linkAttribute/props from a link component has the "javascript:" value. The rule seems to behave correctly for that case, so what I did in this PR is just to add a few tests for that.

@radu2147 radu2147 force-pushed the chore/jsx-no-script-url-improve-tests branch from 3b961ea to 921cfe9 Compare November 4, 2024 15:20
@radu2147 radu2147 requested a review from ljharb November 4, 2024 15:21
@ljharb ljharb force-pushed the chore/jsx-no-script-url-improve-tests branch from 921cfe9 to 4ef92b4 Compare November 4, 2024 15:30
@ljharb ljharb merged commit 4ef92b4 into jsx-eslint:master Nov 4, 2024
400 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants