clutchski / coffeelint

Lint your CoffeeScript.
http://www.coffeelint.org
Other
1.17k stars 172 forks source link

Import/export supports #609

Closed hufyhang closed 7 years ago

hufyhang commented 7 years ago

Hi there,

Since 1.11.0, Coffeescript started to support import/export syntax. However, when I was trying to apply CoffeeLint in my company's project, it complained "Reserved keyword 'import'...".

I'm wondering if there is any chance for the import/export syntax to be supported by CoffeeLint?

Thx.

boris-petrov commented 7 years ago

That's strange, we're using import and export syntax and CoffeeLint doesn't complain. Are you sure your setup is correct (using the correct version of CoffeeScript everywhere e.g.)?

hufyhang commented 7 years ago

Problem solved.

It turns out my global coffeelint is still at a dated version (1.14.0 or something). Once I upgraded it to the latest, problem solved.

Thx a lot!