eslint-plugin-wyze

My personal ESLint rules.
Installation
There is a peerDependencies
on eslint
.
$ npm i --save-dev eslint-plugin-wyze eslint
Usage
package.json
{
"eslintConfig": {
"plugins": [
"wyze"
]
}
}
.eslintrc
{
"plugins": [
"wyze"
]
}
Supported Rules
Recommended Config
We support a recommended config for the rules.
Enable
{
"extends": "plugin:wyze/recommended",
"plugins": [
"wyze"
]
}
Rules
{
"rules": {
"wyze/func-call-arg-spacing": "error",
"wyze/func-params-spacing": "error",
"wyze/max-file-length": "error",
"wyze/newline-after-export": "error",
"wyze/sort-destructuring-keys": "error",
"wyze/sort-imports": "error",
"wyze/space-around-conditional": "error"
}
}
Change Log
Full Change Log
v3.3.0 (2017-06-12)
- [
354de2e304
] - Update eslint
peer dependency (Neil Kistner) - [
385b13bcf6
] - Upgrade dependencies (Neil Kistner) - [
9211cff131
] - Bring in write-changelog
to manage changelog (Neil Kistner) - [
ea99f192fb
] - Fixed tests failing due to repeated variable names in mock code (#16) (Sean Kemmis) - [
6ee089b049
] - Added test and fixed sort-imports --fix bug (#15) (Sean Kemmis) - [
9040d0ca4b
] - Ensure we install npm 4 instead of latest (Neil Kistner)
License
MIT © Neil Kistner