Skip to content

enforce-node-protocol-usage should be deprecated in favor of n/prefer-node-protocol #3183

Open
@JounQin

Description

@JounQin

This rule is more suitable to be responsible of eslint-plugin-n instead.

https://github.com/eslint-community/eslint-plugin-n/blob/master/docs/rules/prefer-node-protocol.md

n/prefer-node-protocol would support more cases than eslint-plugin-import: eslint-community/eslint-plugin-n#428

eslint-plugin-unicorn is also going to deprecate its unicorn/prefer-node-protocol rule after n/prefer-node-protocol supports process.getBuiltinModule(): es-tooling/eslint-plugin-unicorn-x#6 (comment)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions