0.1.5 • Published 8 years ago
eslint-plugin-pangu v0.1.5
eslint-plugin-pangu
Installation
$ npm install --dev eslint eslint-plugin-panguUsage
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.