-
-
Notifications
You must be signed in to change notification settings - Fork 292
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
XO shareable configs? #352
Comments
Yes, I think that makes sense. It should be in a It should support these options:
The rest of the XO options can already be defined as ESLint config. It can also only be directly in a shareable config and not nested or in an extended config, as ESLint doesn't expose a method to flatten the extend tree. |
I'd love this feature, and I have attempted to work it out by editing However, I'm unsure on how to handle (EDIT: Just noticed eslint/eslint#10828 -- if ESLint will supports |
Any info on this? Can one create a config with top level options and use xo directly? I've tried doing so, but ESLint then complains about unexpected top-level properties. |
Should we allow shareable configs to use top level rules such as "prettier" and "space" in shareable XO configs? It would set the option for xo but delete it before passing along to eslint?
Otherwise I have to do this in all my projects:
The text was updated successfully, but these errors were encountered: