Skip to content
This repository was archived by the owner on Sep 11, 2024. It is now read-only.

Use an eslint config based on the js-sdk #634

Merged
merged 2 commits into from
Jan 20, 2017
Merged

Conversation

dbkr
Copy link
Member

@dbkr dbkr commented Jan 20, 2017

To try & get as consistent a code-style as possible throughout our various codebases. This config adds jsx/react/flow stuff, and makes some things warnings again that the react-sdk doesn't conform to yet.

Run eslint --fix to fix a bunch of errors (a lot of missing semicolons), but there are still a bunch of errors that probably warrant looking into, but too many that I want to start doing so now. The fact that it throws up these errors probably makes doing this worthwhile. IMO.

dbkr added 2 commits January 20, 2017 14:08
Extend the js sdk's eslint config to give as consistent a code
style as possible. Add react/jsx/flow stuff that we use here.
eslint --fix and a few manual ones
@richvdh richvdh merged commit f1bb077 into develop Jan 20, 2017
@richvdh
Copy link
Member

richvdh commented Jan 20, 2017

Haven't been through all your rule choices, but looks great.

We should also do the --max-warnings thing here to keep ourselves honest.

@richvdh richvdh deleted the dbkr/use_js_sdk_eslint branch February 15, 2017 13:16
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants