eslint-plugin-pangu

0.1.5 • Public • Published

eslint-plugin-pangu

npm build License: MIT

Installation

$ npm install --dev eslint eslint-plugin-pangu

Usage

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

{
  "plugins": ["pangu"]
}

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

{
  "rules": {
    "pangu/prefer-spacing": "error"
  }
}

Shareable configurations

Recommended

This plugin exports a recommended configuration that enforces good testing practices.

To enable this configuration use the extends property in your .eslintrc config file:

{
  "extends": ["plugin:pangu/recommended"]
}

See ESLint documentation for more information about extending configuration files.

Credit

Readme

Keywords

Package Sidebar

Install

npm i eslint-plugin-pangu

Weekly Downloads

9

Version

0.1.5

License

MIT

Last publish

Collaborators

  • chentsulin