Skip to content

Commit

Permalink
add react/jsx-no-bind
Browse files Browse the repository at this point in the history
  • Loading branch information
tikotzky committed Dec 23, 2015
1 parent 5fcd03f commit b36f21d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/eslint-config-airbnb/rules/react.js
Original file line number Diff line number Diff line change
@@ -27,6 +27,8 @@ module.exports = {
'react/jsx-indent-props': [2, 2],
// Limit maximum of props on a single line in JSX
'react/jsx-max-props-per-line': 0,
// Prevent usage of .bind() and arrow functions in JSX props
'react/jsx-no-bind': 0,
// Prevent duplicate props in JSX
// https://github.com/yannickcr/eslint-plugin-react/blob/master/docs/rules/jsx-no-duplicate-props.md
'react/jsx-no-duplicate-props': 0,

0 comments on commit b36f21d

Please sign in to comment.