From ac5026ba13eff2d80c2eb2500d2a31b5e89ace38 Mon Sep 17 00:00:00 2001 From: yhan Date: Thu, 29 Dec 2016 11:13:17 -0800 Subject: [PATCH 1/2] turn on "react/jsx-pascal-case" as a warning --- dotfiles/.eslintrc | 1 + 1 file changed, 1 insertion(+) diff --git a/dotfiles/.eslintrc b/dotfiles/.eslintrc index 78052665..4a0550bf 100644 --- a/dotfiles/.eslintrc +++ b/dotfiles/.eslintrc @@ -115,6 +115,7 @@ "radix": 2, "react/display-name": 0, "react/jsx-uses-react": 1, + "react/jsx-pascal-case": 1, "semi": 1, "strict": [2, "global"], "use-isnan": 2, From 05b4ebe135db32e1bc45e84330df08b701f918e9 Mon Sep 17 00:00:00 2001 From: yhan Date: Tue, 3 Jan 2017 12:20:54 -0800 Subject: [PATCH 2/2] turn into error --- dotfiles/.eslintrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dotfiles/.eslintrc b/dotfiles/.eslintrc index 4a0550bf..975f6aa1 100644 --- a/dotfiles/.eslintrc +++ b/dotfiles/.eslintrc @@ -115,7 +115,7 @@ "radix": 2, "react/display-name": 0, "react/jsx-uses-react": 1, - "react/jsx-pascal-case": 1, + "react/jsx-pascal-case": 2, "semi": 1, "strict": [2, "global"], "use-isnan": 2,