This repository was archived by the owner on Mar 23, 2024. It is now read-only.
This repository was archived by the owner on Mar 23, 2024. It is now read-only.
jscs v1.13.0 reports "Unexpected reserved word" for "import" keyword. #1321
Closed
Description
Contents of .jscsrc
file is:
{}
(empty for simplicity of example)
Have a file test.js
with:
import angular from 'angular';
./node_modules/.bin/jscs --esnext test.js
reports:
Unexpected reserved word at test.js :
1 |import angular from 'angular';
---------^
2 |
My current fix/workaround is to freeze on version 1.12.0.