airbnb / airbnb/javascript

Rules for nullish coalescing and optional chaining

Open
#2,146 6 comments 8 reactions 0 assignees View on GitHub
needs eslint rule change/addition semver-breaking: guide change
Dominant language
JavaScript
Stars
148k
Forks
26.6k
PR merge metrics
No merged PRs in 30d

Description

I noticed that babel-preset-airbnb added the following stage 4 proposals in [v4.2.0](https://github.com/airbnb/babel-preset-airbnb/blob/master/CHANGELOG.md#420---20191114):

- @babel/plugin-proposal-nullish-coalescing-operator
- @babel/plugin-proposal-optional-chaining

Are there any rules/guidelines for these features?

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reading the linked babel-preset-airbnb v4.2.0 changelog entry and the issue’s references to the nullish-coalescing and optional-chaining Babel plugins. Determine whether the project has an agreed position on rules for these features; done means the guidance is decided and documented in the style guide.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
documentation
Issue type
Documentation
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.