Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
arefed-zz opened this issue Jul 28, 2016 · 1 comment
Open

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

arefed-zz opened this issue Jul 28, 2016 · 1 comment

Comments

@arefed-zz
Copy link

arefed-zz commented Jul 28, 2016

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.

@hollandmatt
Copy link

I can also reproduce this problem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants