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

Using babel-eslint parser makes standard run very slow #1221

Closed
YPCrumble opened this issue Oct 29, 2018 · 2 comments

Comments

@YPCrumble
Copy link

commented Oct 29, 2018

What version of standard?

12.0.1

What operating system, Node.js, and npm version?

Mac OS High Sierra 10.13.6

Nodejs 8.12.0
npm 6.4.1
yarn 1.10.1

What did you expect to happen?

I would expect standard to run only slightly slower if using the babel-eslint parser

What actually happened?

Standard checks a file in less than a second using the standard parser, but takes around five seconds using the babel-eslint parser. Is this expected behavior? Is there a way to inspect standard to see what might be going wrong? Thanks for this great library!

@LinusU

This comment has been minimized.

Copy link
Member

commented Oct 30, 2018

I think that this is an upstream issue with babel-eslint and/or eslint. Would you mind testing if the added delay is the same with just plain eslint without any rules added, and also file an upstream bug report? Thanks ☺️

@stale

This comment has been minimized.

Copy link

commented Jan 28, 2019

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.

@stale stale bot added the stale label Jan 28, 2019

@stale stale bot closed this Feb 5, 2019

@lock lock bot locked as resolved and limited conversation to collaborators May 10, 2019

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
2 participants
You can’t perform that action at this time.