From 8b67d4334f4188f73f306a4bc9b01a1789a30340 Mon Sep 17 00:00:00 2001 From: Tian <61123072@qq.com> Date: Mon, 19 Dec 2016 13:19:37 +0800 Subject: [PATCH 1/2] Update jsx-closing-bracket-location.md the examples of 'after-props' and 'props-aligned' is wrong, so it should change position them --- docs/rules/jsx-closing-bracket-location.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/docs/rules/jsx-closing-bracket-location.md b/docs/rules/jsx-closing-bracket-location.md index 2181b9a408..632524aa38 100644 --- a/docs/rules/jsx-closing-bracket-location.md +++ b/docs/rules/jsx-closing-bracket-location.md @@ -116,24 +116,24 @@ var x = function() { // 'jsx-closing-bracket-location': [1, 'after-props'] ; + lastName="Smith" />; + lastName="Smith"> Hello ; // 'jsx-closing-bracket-location': [1, 'props-aligned'] ; + lastName="Smith" + />; + lastName="Smith" +> Hello ; ``` From 3820096578310ea1cf3cf1e71c2f679d8b51b817 Mon Sep 17 00:00:00 2001 From: Yannick Croissant Date: Tue, 27 Jun 2017 00:45:36 +0200 Subject: [PATCH 2/2] Update jsx-closing-bracket-location.md --- docs/rules/jsx-closing-bracket-location.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/rules/jsx-closing-bracket-location.md b/docs/rules/jsx-closing-bracket-location.md index 632524aa38..990b716769 100644 --- a/docs/rules/jsx-closing-bracket-location.md +++ b/docs/rules/jsx-closing-bracket-location.md @@ -133,7 +133,7 @@ var x = function() { + > Hello ; ```