From 67aa629197f03419b06a26e0376612850efab7ed Mon Sep 17 00:00:00 2001 From: Cheton Wu Date: Tue, 29 Aug 2017 15:41:22 +0800 Subject: [PATCH] Add missing rules --- rules/react.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/rules/react.js b/rules/react.js index 9023d56..8c465ea 100644 --- a/rules/react.js +++ b/rules/react.js @@ -8,6 +8,7 @@ module.exports = { } }, rules: { + 'react/boolean-prop-naming': 0, 'react/forbid-prop-types': 0, 'react/jsx-boolean-value': 0, 'react/jsx-curly-spacing': 1, @@ -34,8 +35,10 @@ module.exports = { 'react/no-find-dom-node': 0, 'react/no-multi-comp': [1, { 'ignoreStateless': true }], 'react/no-string-refs': 1, + 'react/no-typos': 1, 'react/no-unknown-property': 1, 'react/no-unused-prop-types': 0, + 'react/no-unused-state': 0, 'react/prefer-stateless-function': 1, 'react/prop-types': [1, { 'ignore': ['children', 'className', 'style']