diff --git a/.eslintrc b/.eslintrc index ac065a8b..0aa760df 100644 --- a/.eslintrc +++ b/.eslintrc @@ -1,10 +1,15 @@ { - "extends": ["standard", "standard-jsx"], + "extends": ["standard", "standard-jsx", "plugin:react/recommended"], + "plugins": ["react"], "rules": { "no-useless-escape": 0, "prefer-const": "warn", "no-unused-vars": "warn", "no-undef": "warn", - "no-lone-blocks": "warn" + "no-lone-blocks": "warn", + "react/prop-types": "warn", + "react/no-find-dom-node": "warn", + "react/no-direct-mutation-state": "warn", + "react/no-render-return-value": "warn" } }