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

Can provide a global config when using babel-eslint #870

Closed
kimown opened this issue Apr 29, 2017 · 1 comment

Comments

@kimown
Copy link

commented Apr 29, 2017

I want to use babel-eslint so I found this doc: https://github.com/feross/standard#how-do-i-use-experimental-javascript-es-next-features .

But I have a question, I want all my projects to use babel-eslint, the only way I found is adding this config to the every package.json of all my projects.

  "standard": {
    "parser": "babel-eslint"
  }

can standard provide a global config to make babel-eslint as default parser?

@Flet

This comment has been minimized.

Copy link
Member

commented Nov 7, 2017

Unfortunately I don't think there is anything out there. There used to be a babel-standard package that existed before this option was available, but I think folks using babel-eslint are using it exactly as described in your comment.

It should be possible to do this using standard-engine directly with a custom eslint config based off eslint-config-standard.

Sorry we were not able to help more! Closing this issue, but feel free to comment.

@Flet Flet closed this Nov 7, 2017

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

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.