eslint-plugin-require-import-as-namespace
v0.0.2
Published
ESLint plugin to require using import * as some from '' instead of default import
Downloads
15
Maintainers
Readme
ESLint Plugin
This ESLint plugin enforces the use of import * as some from ''
instead of default import.
Installation
You can install this plugin using npm:
npm i eslint-plugin-require-import-as-namespace --save-dev
Usage
Add the plugin to your ESLint configuration:
{
"plugins": ["require-import-as-namespace"],
"rules": {
"require-import-as-namespace/require-import-as-namespace": "error"
}
}