Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

React plugin #6

Closed
jasonkuhrt opened this issue Jan 13, 2016 · 1 comment
Closed

React plugin #6

jasonkuhrt opened this issue Jan 13, 2016 · 1 comment

Comments

@jasonkuhrt
Copy link
Collaborator

React is a key technology at littleBits so we should start linting it with eslint-plugin-react.

@jasonkuhrt jasonkuhrt self-assigned this Jan 13, 2016
@jasonkuhrt jasonkuhrt added this to the v0.3.0 – Hyperspeed milestone Jan 13, 2016
@jasonkuhrt
Copy link
Collaborator Author

Lint rules that we should apply initially:

react/display-name:
  - 1
  - acceptTranspilerName: true
react/jsx-uses-react:
  - 1
react/wrap-multilines:
  - 1
react/sort-comp: # See default settings at blob/master/docs/rules/sort-comp.md
  - 1
react/react-in-jsx-scope:
  - 1
react/prop-types:
  - 1
react/no-direct-mutation-state:
  - 2
react/no-did-update-set-state:
  - 1
  - allow-in-func
react/no-deprecated:
  - 1
react/jsx-uses-vars:
  - 2

Some rules we may want to consider in the future:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant