Skip to content
This repository has been archived by the owner on Aug 4, 2020. It is now read-only.

Camelcase - support for optional chaining #163

Merged
merged 7 commits into from
Nov 8, 2018

Conversation

villesau
Copy link
Contributor

@villesau villesau commented Sep 18, 2018

Optional chaining checks fails in the main repo, this PR reimplements (copy&paste over) the rule, and fixes the issues pointed in tests. tests are same as in main repo plus one added test for optional chaining. I wanted to keep changes as minimal as possible while satisfying every spec the rule has.

Using eslint-rule-composer didn't seem to be feasible since the implementation (e.g in case of duplicate checks) varies, and even more tests failed when just passing the rule trough it.

Easiest way to review this is to go commit by commit. First one is just copy&paste from eslint & some wire up.

ref: eslint/eslint#10848

@villesau
Copy link
Contributor Author

villesau commented Oct 15, 2018

@existentialism @hzoo is there something that I could do to get this reviewed faster? Would be nice to get rid of the fork :)

@diondirza
Copy link

Any progress on this guys?

@existentialism
Copy link
Member

@villesau sorry for delay, been super swamped with work and @hzoo is at a conf. will try to look at this today or tomorrow!

@villesau
Copy link
Contributor Author

@existentialism have you had time to go this trough? :)

@existentialism
Copy link
Member

@villesau sorry again for the delay, landing once this goes green

@existentialism existentialism merged commit 135622a into babel:master Nov 8, 2018
@villesau villesau deleted the camelcase branch November 8, 2018 16:26
@villesau
Copy link
Contributor Author

villesau commented Nov 8, 2018

Great, thanks for review @existentialism !

@villesau villesau restored the camelcase branch November 8, 2018 20:15
@radoi90
Copy link

radoi90 commented Nov 12, 2018

Hey guys this doesn't seem to be pushed to npm, is that on purpose?

@villesau
Copy link
Contributor Author

true. @existentialism could this be published in npm?

@existentialism
Copy link
Member

@villesau released as 5.3.0! thanks again!

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.

None yet

4 participants