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

Eslint base config #49

Merged
merged 1 commit into from
Aug 31, 2015
Merged

Eslint base config #49

merged 1 commit into from
Aug 31, 2015

Conversation

zpao
Copy link
Member

@zpao zpao commented Aug 31, 2015

This pulls in out internal eslint config into something we can start using in downstream projects with minimal overrides (eg we're a bit stricter in React but probably don't want to be in Relay). We can continue down this path and bring in some custom rules next - we have a number of internal ones that were written and would be good to have out here to maintain consistency.

Note: this was branched from #48 so it has that totally unrelated dev engines script.

zpao added a commit that referenced this pull request Aug 31, 2015
@zpao zpao merged commit 5150b6f into facebook:master Aug 31, 2015
ghost pushed a commit to facebook/relay that referenced this pull request Sep 9, 2015
Summary: As @​zpao suggested (reference #58) here is the new PR with the rules from [facebook/fbjs#49](facebook/fbjs#49).

I'll still need some guidance on what should be Relay specific.

At the moment with the current fbjs rules there is a lot of errors on [no-undef](http://eslint.org/docs/rules/no-undef.html) (example: $FlowIssue, $FixMe, $Enum and also when defining Flow types, this is related to [babel-eslint/known-issues](https://github.com/babel/babel-eslint#known-issues) - [babel-eslint#130](babel/babel-eslint#130) and [babel-eslint#132](babel/babel-eslint#132))

@​josephsavona @​zpao what are your thoughts?
Closes #202

Reviewed By: @josephsavona

Differential Revision: D2417828
steveluscher pushed a commit to facebook/relay that referenced this pull request Sep 18, 2015
Summary: As @​zpao suggested (reference #58) here is the new PR with the rules from [facebook/fbjs#49](facebook/fbjs#49).

I'll still need some guidance on what should be Relay specific.

At the moment with the current fbjs rules there is a lot of errors on [no-undef](http://eslint.org/docs/rules/no-undef.html) (example: $FlowIssue, $FixMe, $Enum and also when defining Flow types, this is related to [babel-eslint/known-issues](https://github.com/babel/babel-eslint#known-issues) - [babel-eslint#130](babel/babel-eslint#130) and [babel-eslint#132](babel/babel-eslint#132))

@​josephsavona @​zpao what are your thoughts?
Closes #202

Reviewed By: @josephsavona

Differential Revision: D2417828
@zpao zpao deleted the eslint-base branch November 17, 2015 00:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants