0.1.15 • Published 8 years ago

eslint-plugin-loosely-restrict-imports v0.1.15

Weekly downloads
34
License
ISC
Repository
github
Last release
8 years ago

eslint-plugin-loosely-restrict-imports

CircleCI npm David

Loosely restrict ES6 imports

Installation

You'll first need to install ESLint:

$ npm i eslint --save-dev

Next, install eslint-plugin-loosely-restrict-imports:

$ npm install eslint-plugin-loosely-restrict-imports --save-dev

Note: If you installed ESLint globally (using the -g flag) then you must also install eslint-plugin-loosely-restrict-imports globally.

Usage

Add loosely-restrict-imports to the plugins section of your .eslintrc configuration file. You can omit the eslint-plugin- prefix:

plugins:
    - loosely-restrict-imports

Then configure the rules you want to use under the rules section.

rules:
    loosely-restrict-imports/loosely-restrict-imports: [2, ".jsx"]
0.1.15

8 years ago

0.1.10

8 years ago

0.1.9

8 years ago

0.1.8

8 years ago

0.1.7

8 years ago

0.1.6

8 years ago

0.1.5

8 years ago

0.1.4

8 years ago