Skip to content
This repository has been archived by the owner on Dec 1, 2017. It is now read-only.

Commit

Permalink
Removed rules which are already defined by react/recommended
Browse files Browse the repository at this point in the history
  • Loading branch information
swernerx committed May 8, 2017
1 parent ab48133 commit 70f4f85
Showing 1 changed file with 0 additions and 18 deletions.
18 changes: 0 additions & 18 deletions eslint/react.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,12 +33,6 @@ rules:
# Enforce ES5 or ES6 class for returning value in render function
react/require-render-return: error

# Validate JSX has key prop when in array or iterator
react/jsx-key: error

# Prevent passing children as props. Bad practise
react/no-children-prop: error

# Prevent missing React when using JSX
react/react-in-jsx-scope: error

Expand All @@ -62,15 +56,9 @@ rules:
# Prevent usage of dangerous JSX properties
react/no-danger: error

# Prevent problem with children and props.dangerouslySetInnerHTML
react/no-danger-with-children: error

# Prevent direct mutation of this.state
react/no-direct-mutation-state: error

# Prevent invalid characters from appearing in markup
react/no-unescaped-entities: error

# Enforce style prop value being an object
react/style-prop-object: error

Expand All @@ -79,9 +67,6 @@ rules:
- error
- ignoreCase: true

# Prevent usage of unsafe target='_blank'
react/jsx-no-target-blank: error

# Don't pollute DOM
react/no-unknown-property: error

Expand Down Expand Up @@ -155,8 +140,5 @@ rules:
# Prevent usage of isMounted
react/no-is-mounted: error

# Prevent using string references in ref attribute.
react/no-string-refs: error

# Unsafe + Bad performance + Deprecated
react/no-find-dom-node: error

0 comments on commit 70f4f85

Please sign in to comment.