Package Exports
- eslint-plugin-6river
- eslint-plugin-6river/lib/index.js
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (eslint-plugin-6river) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
eslint-plugin-6river
set of 6river eslint plugins
Installation
You'll first need to install ESLint:
$ npm i eslint --save-devNext, install eslint-plugin-6river:
$ npm install eslint-plugin-6river --save-devNote: If you installed ESLint globally (using the -g flag) then you must also install eslint-plugin-6river globally.
Usage
Add 6river to the plugins section of your .eslintrc configuration file. You can omit the eslint-plugin- prefix:
{
"plugins": [
"6river"
]
}Then configure the rules you want to use under the rules section.
{
"rules": {
"6river/rule-name": 2
}
}Supported Rules
- new-cap - same as eslint core rule but adds @ prefix to decorator function while parsed to make it easy to apply regex rules for all decorators.