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

[Refactor] removing a use of some #682

Merged
merged 2 commits into from
Jun 11, 2020
Merged

Conversation

andrelmlins
Copy link
Contributor

I believe that it is not necessary to use the add function. Leaving the whole rule to the Regex.

@coveralls
Copy link

Coverage Status

Coverage decreased (-0.0004%) to 99.484% when pulling e43183c on andrelmlins:master into 573d39e on evcohen:master.

1 similar comment
@coveralls
Copy link

Coverage Status

Coverage decreased (-0.0004%) to 99.484% when pulling e43183c on andrelmlins:master into 573d39e on evcohen:master.

Copy link
Collaborator

@jessebeach jessebeach left a comment

Choose a reason for hiding this comment

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

@andrelmlins ya, I think it works. How in the world did you find this??

@andrelmlins
Copy link
Contributor Author

Hi @jessebeach , I was implementing accessibility rules for SvelteJs. When comparing my code with this one, I noticed this point.

src/rules/img-redundant-alt.js Outdated Show resolved Hide resolved
@ljharb ljharb changed the title fix: removing the use of the some function [Refactor] removing a use of some Jun 11, 2020
Co-authored-by: Jordan Harband <ljharb@gmail.com>
@jessebeach
Copy link
Collaborator

@ljharb, @andrelmlins made the change. Could you approve and I'll merge it?

Copy link
Member

@ljharb ljharb left a comment

Choose a reason for hiding this comment

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

np, i rebased it and will automerge it once tests pass

@ljharb ljharb merged commit 42098b9 into jsx-eslint:master Jun 11, 2020
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.

None yet

4 participants