This package has been deprecated

Author message:

Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.

@nisje/eslint-plugin

0.6.0 • Public • Published

@nisje/eslint-plugin

Nisje's ESLint plugin, following our styleguide.

Installation

You'll first need to install ESLint:

$ npm i eslint --save-dev

Next, install @nisje/eslint-plugin:

$ npm install @nisje/eslint-plugin --save-dev

Usage

This plugin exports a base config that enforces best practices.

Create your own .eslintrc.js configuration file:

{
	"extends": "plugin:@nisje/base",
	"plugins": [
		"@nisje"
	]
}

Or see the ESLint docs for more information about configuration file formats.

You can also stack any of the extra shared configs on top of the "base" config by extending an array of linting configs. For example, this package provides a React linting config, which can be added to the base config with the following configuration file:

{
	"extends": [
		"plugin:@nisje/base",
		"plugin:@nisje/react"
	]
}

Available rulesets

The following rulesets are available:

  • base: Enforces best practices and possible errors
  • flowtype: Enforces best Flow practices
  • react: Enforces best React.js practices

Readme

Keywords

none

Package Sidebar

Install

npm i @nisje/eslint-plugin

Weekly Downloads

15

Version

0.6.0

License

MIT

Unpacked Size

60.8 kB

Total Files

17

Last publish

Collaborators

  • olethomas
  • walbo