<div dir="ltr"><div>As of now, I've created review requests to enable all the rules used for Fuel UI except these:<br><br><a href="http://eslint.org/docs/rules/object-shorthand">http://eslint.org/docs/rules/object-shorthand</a><br><a href="http://eslint.org/docs/rules/prefer-arrow-callback">http://eslint.org/docs/rules/prefer-arrow-callback</a><br><a href="http://eslint.org/docs/rules/prefer-spread">http://eslint.org/docs/rules/prefer-spread</a><br><br></div>Enabling them will break valid ES5 code, and I didn't find a way to disable them for ES5 code - even if env.es6 is false and parserOptions.ecmaVersion is 5, ESLint applies these rules. So probably they should be enabled after significant adoption of ES6.<br></div><div class="gmail_extra"><br><div class="gmail_quote">2016-05-12 19:17 GMT+03:00 Michael Krotscheck <span dir="ltr"><<a href="mailto:krotscheck@gmail.com" target="_blank">krotscheck@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Fuel has already adopted ES6, and is moving to adopt eslint-config-openstack. To help them, Vitaly's started to propose language style rules for ES6, which are available to review at the below link:<div><br></div><div><a href="https://review.openstack.org/#/q/topic:es6+project:openstack/eslint-config-openstack" target="_blank">https://review.openstack.org/#/q/topic:es6+project:openstack/eslint-config-openstack</a><br></div><div><br></div><div>Please take a moment to review these rules. As a reminder, approval for eslint-config-openstack requires that a rule receives five positive votes, with no negative ones.</div><div><br></div><div>Have a great day!</div><span class="HOEnZb"><font color="#888888"><div><br></div><div>Michael</div></font></span></div>
<br>__________________________________________________________________________<br>
OpenStack Development Mailing List (not for usage questions)<br>
Unsubscribe: <a href="http://OpenStack-dev-request@lists.openstack.org?subject:unsubscribe" rel="noreferrer" target="_blank">OpenStack-dev-request@lists.openstack.org?subject:unsubscribe</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" rel="noreferrer" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br><div class="gmail_signature"><div dir="ltr"><div><div dir="ltr">Vitaly Kramskikh,<br>Fuel UI Tech Lead,<br>Mirantis, Inc.</div></div></div></div>
</div>