Skip to content

Instantly share code, notes, and snippets.

@superbrothers
Last active August 29, 2015 14:17
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save superbrothers/8ef0ea9ad711c9638b85 to your computer and use it in GitHub Desktop.
Save superbrothers/8ef0ea9ad711c9638b85 to your computer and use it in GitHub Desktop.
.eslintrc for browserify + reactify (es6)
---
env:
node: true
browser: true
mocha: true
es6: true
ecmaFeatures:
jsx: true
rules:
react/no-multi-comp: 1
react/prop-types: 1
react/display-name: 1
react/wrap-multilines: 1
react/self-closing-comp: 1
react/no-did-mount-set-state: 1
react/no-did-update-set-state: 1
react/jsx-uses-react: 1
react/jsx-uses-vars: 1
react/react-in-jsx-scope: 1
plugins:
- react # eslint-plugin-react
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment