Skip to content
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
@akash1810

Description

@akash1810

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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions