-
Notifications
You must be signed in to change notification settings - Fork 118
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
SyntaxError: Unexpected token ... #258
Comments
Can you try using the latest version of my fork to see if that fixes your problem? I don't believe this repo is being maintained anymore, but I'll try to fix your issue on that repo if it persists Repo: https:/doamatto/gulp-eslint Cheers!
|
Hi Matt,
Even after using https:/doamatto/gulp-eslint, the errors
persist.
Can you pls look into this?
Thanks,
Shourya
…On Wed, Mar 10, 2021 at 12:20 AM Matt Ronchetto ***@***.***> wrote:
Can you try using the latest version of my fork to see if that fixes your
problem? I don't believe this repo is being maintained anymore, but I'll
try to fix your issue on that repo if it persists
Repo: https:/doamatto/gulp-eslint
Cheers!
- Matt
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#258 (comment)>,
or unsubscribe
<https:/notifications/unsubscribe-auth/ADFH2J5GUHGDR6WSFXBQAOTTCZNVZANCNFSM4Y2ZE4ZA>
.
|
Sorry for taking so long to respond. I've made an issue in my repository (doamatto/gulp-eslint#65) that I'm going to use to solve this. Please read the updates there :) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi,
I'm using gulp-eslint 6.0.0, with the following other tools:
node: 10.15.3
npm: 6.4.1
gulp-cli: 2.2.0
Upon execution, I'm getting the following error:
...calculateStatsPerFile(messages)
^^^
SyntaxError: Unexpected token ...
at createScript (vm.js:56:10)
at Object.runInThisContext (vm.js:97:10)
at Module._compile (module.js:549:28)
Following is my eslintrc file:
{ "env": { "node": true, "es6": true }, "parserOptions": { "ecmaVersion":2020, "ecmaFeatures": { "jsx": true } }, "settings": { "react": { "createClass": "createClass", "pragma": "React", "version": "detect" } }, //this config extends the eslint recommended and react presets. "extends":["eslint:recommended", "plugin:react/recommended"], //rules to be applied by eslint while validating the code. "rules": { "curly": "error", //enforce consistent brace style for all control statements "no-undef": "error", //disallow the use of undeclared variables unless mentioned in
/*global */comments "no-unused-vars": "error", "no-trailing-spaces": "error", "semi": "error", //semicolons a must to end a statement "no-const-assign": "error", "eqeqeq": "error", //require the use of
===and
!=="no-extra-boolean-cast":"off" } }
Any help is appreciated, Thanks.
The text was updated successfully, but these errors were encountered: