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

Chore: Use object-shorthand batch 1 (Refs #6407) #6893

Merged
merged 1 commit into from Aug 12, 2016

Conversation

kaicataldo
Copy link
Member

@kaicataldo kaicataldo commented Aug 12, 2016

Breaking this up into batches as per the discussion here: #6812

This is the first batch (everything outside of /lib). I'll actually enable the rule in the final batch :)

@eslint/eslint-team Will merge this after I get a few pairs of eyes on this. Discussed with @nzakas in Gitter and we decided to get these reviewed and merged without having to wait the full two days. Since this touches so many files, waiting even a few days can lead to merge conflicts.

@eslintbot
Copy link

LGTM

@ilyavolodin
Copy link
Member

LGTM. Honestly, I have to say, I'm not a huge fan of object shorthand syntax.

@ilyavolodin ilyavolodin merged commit 2841008 into master Aug 12, 2016
@kaicataldo kaicataldo deleted the objectshorthand1 branch August 12, 2016 20:55
@kaicataldo
Copy link
Member Author

Oh really? Why is that? I love how concise it is :)

@ilyavolodin
Copy link
Member

Personal preferences, but like many of the new enhancement it's optimized for less typing. Unfortunately, it also makes it a lot harder to visual scan the code and get a rough idea of what's going on. Since you type the code once, but read it many many times, I honestly don't like anything like that (arrow functions, object shorthand, ASI, etc.)

@eslint-deprecated eslint-deprecated bot locked and limited conversation to collaborators Feb 6, 2018
@eslint-deprecated eslint-deprecated bot added the archived due to age This issue has been archived; please open a new issue for any further discussion label Feb 6, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
archived due to age This issue has been archived; please open a new issue for any further discussion
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants