0

I am using Atom Editor with the linter and linter-jslint packages

I have my first line of code look like this :

import {WakandaClient} from "wakanda-client";

And I get this error :

Expected an identifier instead saw '{'

Would appreciate some feedback on why I am getting this error when my .jslintrc file contains the "es6":true parameter.

You can find the link to the github repo issue here

Ganbin
  • 2,004
  • 2
  • 12
  • 19

1 Answers1

0

Actually this come from that the linter-jslint package of atom use an old version of jslint.

I use instead the linter-jslinter plugin.

I think that jslint is also still improving the way it handle the es6 features. But with this package I get a better jslint linter.

Ganbin
  • 2,004
  • 2
  • 12
  • 19