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

ESLint parsing error #36

Closed
sergeh opened this issue Apr 9, 2020 · 1 comment
Closed

ESLint parsing error #36

sergeh opened this issue Apr 9, 2020 · 1 comment
Labels
question Further information is requested

Comments

@sergeh
Copy link

sergeh commented Apr 9, 2020

I just got this error on an action and I'm not sure what's causing it, running eslint --no-color --format json "." outputs no error.

 Error: ESLint error: Parsing error: Unexpected token ...
    at Function.parseOutput (/home/runner/work/_actions/samuelmeuli/lint-action/v1/src/linters/eslint.js:86:12)
    at runAction (/home/runner/work/_actions/samuelmeuli/lint-action/v1/src/index.js:86:30)
/home/runner/work/_actions/samuelmeuli/lint-action/v1/src/index.js:16
	throw new Error(`Exiting because of unhandled promise rejection`);
	^

Error: Exiting because of unhandled promise rejection
    at process.<anonymous> (/home/runner/work/_actions/samuelmeuli/lint-action/v1/src/index.js:16:8)
    at process.emit (events.js:210:5)
    at processPromiseRejections (internal/process/promises.js:201:33)
    at processTicksAndRejections (internal/process/task_queues.js:94:32)
@sergeh
Copy link
Author

sergeh commented Apr 9, 2020

Closing issue, this was due to eslint-plugin-vue requiring custom parserOptions

@sergeh sergeh closed this as completed Apr 9, 2020
@samuelmeuli samuelmeuli added the question Further information is requested label Apr 9, 2020
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jun 2, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants