Skip to content

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

Open
@fregante

Description

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

Activity

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

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions