uber / standard

JavaScript Standard Style — One Style to Rule Them All
MIT License
70 stars 8 forks source link

Unexpected reserved word (undefined) #43

Open romaxa opened 9 years ago

romaxa commented 9 years ago

On line 8 I have: class PolarisFeature {

chrisirhc commented 9 years ago

Did you use --es6?

romaxa commented 9 years ago

With --es6 Unexpected reserved word is gone, but ton's of other errors came, like: (no-var), (object-shorthand), Maximum allowed is 15. (max-statements)... Is there are way to use nice es6 class definition without following rest of es6 rules?

chrisirhc commented 9 years ago

You can use a custom .eslintrc in your project. standard will pick up the new configuration.

tmeshkova commented 9 years ago

Ok, thanks