mapsapi-codestyle icon indicating copy to clipboard operation
mapsapi-codestyle copied to clipboard

Codestyle for ES6

Open ghost opened this issue 11 years ago • 3 comments

ghost avatar Jul 30 '15 11:07 ghost

Well, first of all, it seems reasonable to abandon use of var and use only let and const.

Also, it hearts my eyes to see that people tend to overuse arrow function. This sometimes makes code utterly ugly. I suggest to limit it somehow.

And I believe proxies are just harmful. I suggest to prohibit them.

dmikis avatar Aug 01 '15 17:08 dmikis

Also, it hearts my eyes to see that people tend to overuse arrow function. This sometimes makes code utterly ugly.

Could you give an example of such code?

watch-the-stars avatar Aug 12 '15 10:08 watch-the-stars

I think this issue can be closed, because we added basic rules for es6.

ikokostya avatar Mar 07 '16 19:03 ikokostya