Skip to content

Commit 02d61cf

Browse files
committedMay 2, 2019
💥 update no-unsupported-features/es-builtins
1 parent 5d79f2d commit 02d61cf

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed
 

‎docs/rules/no-unsupported-features/es-builtins.md

+6-2
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ Editor integrations of ESLint would be useful to know it in real-time.
1010

1111
### Supported ECMAScript features
1212

13-
This rule supports ECMAScript 2018 and the features which are arrived at Stage 4 by May 2018.
13+
This rule supports ECMAScript 2019.
1414
See also [TC39 finished proposals](https://github.com/tc39/proposals/blob/master/finished-proposals.md).
1515

1616
### Configured Node.js version range
@@ -37,7 +37,7 @@ If you omit the [engines] field, this rule chooses `>=8.0.0` as the configured N
3737
```json
3838
{
3939
"node/no-unsupported-features/es-builtins": ["error", {
40-
"version": ">=6.0.0",
40+
"version": ">=8.0.0",
4141
"ignores": []
4242
}]
4343
}
@@ -59,6 +59,10 @@ The `"ignores"` option accepts an array of the following strings.
5959

6060
<details>
6161

62+
**ES2019:**
63+
64+
- `"Object.fromEntries"`
65+
6266
**ES2017:**
6367

6468
- `"Atomics"`

‎lib/rules/no-unsupported-features/es-builtins.js

+1
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@ const trackMap = {
4949
},
5050
Object: {
5151
assign: { [READ]: { supported: "4.0.0" } },
52+
fromEntries: { [READ]: { supported: "12.0.0" } },
5253
getOwnPropertySymbols: { [READ]: { supported: "0.12.0" } },
5354
is: { [READ]: { supported: "0.10.0" } },
5455
setPrototypeOf: { [READ]: { supported: "0.12.0" } },

0 commit comments

Comments
 (0)
Please sign in to comment.