1.0.0 • Published 2 years ago

eslint-plugin-react-bootstrap-imports v1.0.0

Weekly downloads
-
License
ISC
Repository
github
Last release
2 years ago

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