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

Change useAt option default to true at in no-get rule #1965

Merged
merged 2 commits into from
Oct 31, 2023

Conversation

patricklx
Copy link
Contributor

@patricklx patricklx commented Oct 31, 2023

Option was originally added here: #1847

at is now supported by all our Node versions: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/at

@bmish bmish changed the title prepare v12 - changed useAt option for no-get Change useAt option default to true at in no-get rule Oct 31, 2023
@bmish bmish added the breaking label Oct 31, 2023
@bmish
Copy link
Member

bmish commented Oct 31, 2023

There are rule tests for this option default that will need to be updated.

@patricklx
Copy link
Contributor Author

looking at the tests, they didn't test default behaviour

@bmish
Copy link
Member

bmish commented Oct 31, 2023

@patricklx okay then we'll need to test that. Can you just add one test that ensures this behavior is on by default?

@bmish bmish mentioned this pull request Oct 31, 2023
@bmish bmish merged commit 2310ead into ember-cli:master Oct 31, 2023
8 checks passed
@patricklx patricklx deleted the change-option branch October 31, 2023 16:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants