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

Move plugins from plugins.cjs to eslint-config-xo #769

Open
fregante opened this issue Oct 19, 2024 · 0 comments
Open

Move plugins from plugins.cjs to eslint-config-xo #769

fregante opened this issue Oct 19, 2024 · 0 comments

Comments

@fregante
Copy link
Member

xo/config/plugins.cjs

Lines 13 to 21 in 1877df6

plugins: [
'no-use-extend-native',
'ava',
'unicorn',
'promise',
'import',
'n', // eslint-plugin-node's successor
'eslint-comments',
],

Flat configs can now have plugin dependencies, so they should be moved to eslint-config-xo. This would extend the existing json and stylistic plugins: https://github.com/xojs/eslint-config-xo/blob/e1fe11ca81699991253ad4a9c6efa54bdb76b011/package.json#L62-L63

Related

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant