-
-
Notifications
You must be signed in to change notification settings - Fork 285
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
Document how to use plugin configuration via ESLint #626
Comments
Same answer as #618 (comment) |
Is it? I'm setting most plugin configuration via my custom config here, both via And then I'm just extending the single shared config as usual: I'm not even installing each plugin separately, they're part of I think technically I could add |
If it doesn't break the current usage, I'd move |
I know, but it works for me and I don't know why. Either way, my suggestion was not to change the dependency setup, but just to move the file to the |
Even if it works for you, it's not something that is officially supported. I have wasted so much time on weird config resolution issues with XO and ESLint in the past year. I don't want to risk any more issues by moving the file out. I recommend just copy-pasting the useful stuff in plugins.js for now. This will all be fixed properly at some point. |
Speaking of which: 0.46.1 0.46.2 0.46.3 😅 I was having issues with it yesterday but did not have the time to investigate |
Yeah... Try 0.46.3. It fixes it for |
eslint-config-xo
can be used from eslint:But it does not include the plugin config:
https://github.com/xojs/xo/blob/a30cf0b710063953a015066bdfd9514eab41900c/config/plugins.cjs
Is it possible to move it to
eslint-config-xo
and use it as such?The text was updated successfully, but these errors were encountered: