Skip to content

JSCS unreasonably complain about the beginning of a js file  #114

Description

@arefed-zz

I am using gulp-jscs 4.0
I get this error at the beginning of the first line of one of my js files:
Expected token value ":" but = found at /Users/arefe/workspaces/workspace/core-tools-libs/modules/visualizations/src/react-visualization/tables/crosstab/crosstab-transform.js :
1 |'use strict';
-----^
2 |
3 |import IndiceeTransformer from '../../indicee-transformer/indicee-transformer';

it looks like the error is independent of what is in that line of code, as when I changed it to whatever, it still complains. Any idea how I can fix this? I have other files with the exact same first few lines which pass the jscs, only this one is an issue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions