From 982850731e67005f17720f74bc10a4e54f87839b Mon Sep 17 00:00:00 2001 From: Sven SAULEAU Date: Sat, 14 Jan 2017 15:45:20 +0100 Subject: [PATCH] fix: [skip ci] consistent documentation (#5111) --- .../babel-plugin-transform-es2015-duplicate-keys/README.md | 4 +++- packages/babel-plugin-transform-es2015-parameters/README.md | 6 ++++++ 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/packages/babel-plugin-transform-es2015-duplicate-keys/README.md b/packages/babel-plugin-transform-es2015-duplicate-keys/README.md index bfcb7c4257..aa502cce50 100644 --- a/packages/babel-plugin-transform-es2015-duplicate-keys/README.md +++ b/packages/babel-plugin-transform-es2015-duplicate-keys/README.md @@ -1,6 +1,8 @@ # babel-plugin-transform-es2015-duplicate-keys -> Compile objects with duplicate keys to valid strict ES5. This plugin actually converts duplicate keys in objects to be computed properties, which then must be handled by the [transform-es2015-computed-properties](http://babeljs.io/docs/plugins/transform-es2015-computed-properties) plugin. The final result won't contain any object literals with duplicate keys. +> Compile objects with duplicate keys to valid strict ES5. + +This plugin actually converts duplicate keys in objects to be computed properties, which then must be handled by the [transform-es2015-computed-properties](http://babeljs.io/docs/plugins/transform-es2015-computed-properties) plugin. The final result won't contain any object literals with duplicate keys. ## Example diff --git a/packages/babel-plugin-transform-es2015-parameters/README.md b/packages/babel-plugin-transform-es2015-parameters/README.md index bd55bbc350..5c52e0c0c8 100644 --- a/packages/babel-plugin-transform-es2015-parameters/README.md +++ b/packages/babel-plugin-transform-es2015-parameters/README.md @@ -2,6 +2,12 @@ > Compile ES2015 default and rest parameters to ES5 +This plugin transforms ES2015 parameters to ES5, this includes: + +- Destructuring parameters +- Default parameters +- Rest parameters + ## Installation ```sh