From 0e1c3d33e8d3d42491cd11a51238269157e888e9 Mon Sep 17 00:00:00 2001 From: Gabriel Lebec Date: Fri, 24 Mar 2017 13:20:34 -0400 Subject: [PATCH] fix(react): two method names --- rules/react.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rules/react.js b/rules/react.js index 3f04599..961ef61 100644 --- a/rules/react.js +++ b/rules/react.js @@ -27,9 +27,9 @@ module.exports = { 'react/display-name': 1, // Prevent missing displayName in a React component definition 'react/forbid-component-props': 0, // Forbid certain props on Components - 'forbid-elements': 0, // Forbid certain elements + 'react/forbid-elements': 0, // Forbid certain elements 'react/forbid-prop-types': 0, // Forbid certain propTypes - 'forbid-foreign-prop-types': 0, // Forbid foreign propTypes + 'react/forbid-foreign-prop-types': 0, // Forbid foreign propTypes 'react/no-array-index-key': 1, // Prevent using Array index in `key` props 'react/no-children-prop': 1, // Prevent passing children as props 'react/no-danger': 1, // Prevent usage of dangerous JSX properties