eslint-plugin-react-bootstrap-imports

1.0.0 • Public • Published

eslint-plugin-react-bootstrap-imports

An eslint plugin for react bootstrap imports

Installation

You'll first need to install ESLint:

npm i eslint --save-dev
yarn -D add eslint

Next, install eslint-plugin-react-bootstrap-imports:

npm install eslint-plugin-react-bootstrap-imports --save-dev
yarn -D add eslint-plugin-react-bootstrap-imports

Usage

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

{
	"plugins": ["react-bootstrap-imports"]
}

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

{
	"rules": {
		"react-bootstrap-imports/no-bootstrap-named-imports": 2
	}
}

/eslint-plugin-react-bootstrap-imports/

    Package Sidebar

    Install

    npm i eslint-plugin-react-bootstrap-imports

    Weekly Downloads

    1

    Version

    1.0.0

    License

    ISC

    Unpacked Size

    6.33 kB

    Total Files

    15

    Last publish

    Collaborators

    • bndev