0.0.2 • Published 11 months ago

eslint-plugin-require-import-as-namespace v0.0.2

Weekly downloads
-
License
MIT
Repository
github
Last release
11 months ago

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"
  }
}
0.0.2

11 months ago

0.0.1

11 months ago

1.0.0

11 months ago