eslint-plugin-require-node-import-prefix
v0.0.2
Published
A rule that enforces to use the `node:` prefix for nodejs built-ins
Downloads
911
Maintainers
Readme
eslint-plugin-require-node-import-prefix
A rule to enforce usage of node: prefix for imports
Installation
yarn add -D eslint-plugin-require-node-import-prefix
Usage
Add it to your ESLint configuration:
{
"plugins": [
"require-node-import-prefix"
],
"rules": {
"require-node-import-prefix/no-empty-import-prefix": "error"
}
}