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

Enable useOptionalChaining option by default for no-get rule #1519

Merged
merged 1 commit into from
Jul 19, 2022

Conversation

bmish
Copy link
Member

@bmish bmish commented Jul 15, 2022

We can enable this option given that we are dropping support for Node versions below Node 14.

Optional chaining is available as of Node 14: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Optional_chaining

Part of v11 release (#1169).

@bmish bmish added the Breaking label Jul 15, 2022
@bmish bmish mentioned this pull request Jul 15, 2022
@bmish bmish marked this pull request as ready for review July 19, 2022 21:06
@bmish bmish merged commit 0f66352 into ember-cli:master Jul 19, 2022
bmish added a commit to bmish/eslint-plugin-ember that referenced this pull request Jul 19, 2022
* master:
  breaking: add no-array-prototype-extensions as recommended rule (ember-cli#1517)
  breaking: remove base config (ember-cli#1518)
  breaking: stop exporting non-Ember utils (ember-cli#1513)
  breaking: update `avoid-leaking-state-in-ember-objects` rule to augment instead of replace default config (ember-cli#1512)
  breaking: strictly define Node API (ember-cli#1514)
  breaking: enable useOptionalChaining on no-get rule (ember-cli#1519)
  Drop support for Node 10, 12, 15, 17 (ember-cli#1318)
bmish added a commit that referenced this pull request Jul 19, 2022
* master:
  breaking: add no-array-prototype-extensions as recommended rule (#1517)
  breaking: remove base config (#1518)
  breaking: stop exporting non-Ember utils (#1513)
  breaking: update `avoid-leaking-state-in-ember-objects` rule to augment instead of replace default config (#1512)
  breaking: strictly define Node API (#1514)
  breaking: enable useOptionalChaining on no-get rule (#1519)
  Drop support for Node 10, 12, 15, 17 (#1318)
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.

None yet

1 participant