eslint: error Parsing error: The keyword 'const' is reserved

后端 未结 6 1188
余生分开走
余生分开走 2020-12-12 15:04

I am getting this error from ESLint:

error  Parsing error: The keyword \'const\' is reserved

from

6条回答
  •  庸人自扰
    2020-12-12 16:07

    In my case, it was unable to find the .eslintrc file so I copied from node_modules/.bin to root.

提交回复
热议问题