From 17971fa8dbcdf6c72f7b44cd750f6282254de337 Mon Sep 17 00:00:00 2001 From: Michael Jackson Date: Thu, 16 Jun 2016 09:39:39 -0700 Subject: [PATCH] Remove no-danger from recommended rules Using `dangerouslySetInnerHTML` is already very explicit and there are some things you actually can't do w/out it. I don't think I'd say that using it isn't "recommended". --- index.js | 1 - 1 file changed, 1 deletion(-) diff --git a/index.js b/index.js index 25cbdb4c6b..a27a26a8cd 100644 --- a/index.js +++ b/index.js @@ -63,7 +63,6 @@ module.exports = { 'react/jsx-no-undef': 2, 'react/jsx-uses-react': 2, 'react/jsx-uses-vars': 2, - 'react/no-danger': 2, 'react/no-deprecated': 2, 'react/no-did-mount-set-state': [2, 'allow-in-func'], 'react/no-did-update-set-state': [2, 'allow-in-func'],