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

Improve no-array-mutation #89

Merged
merged 6 commits into from
Aug 23, 2018
Merged

Improve no-array-mutation #89

merged 6 commits into from
Aug 23, 2018

Conversation

RebeccaStevens
Copy link
Collaborator

@RebeccaStevens RebeccaStevens commented Aug 23, 2018

Fixes: #88

Added option ignore-mutation-following-accessor that allows for mutating methods to be using directly after an accessor method in a chain.

For example:

const sorted = ["foo", "bar"].slice().sort((a, b) => a.localeCompare(b));

@coveralls
Copy link

Coverage Status

Coverage decreased (-0.4%) to 98.84% when pulling b6f26e3 on RebeccaStevens:issue-88 into 7e27e6f on jonaskello:master.

@jonaskello
Copy link
Owner

Nice work :-)

@jonaskello jonaskello merged commit 9bef637 into jonaskello:master Aug 23, 2018
@jonaskello
Copy link
Owner

Released in 4.7.0

@RebeccaStevens RebeccaStevens deleted the issue-88 branch October 29, 2018 02:44
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.

3 participants