eslint-plugin-wyze

My personal ESLint rules.

Downloads in past

Stats

StarsIssuesVersionUpdatedCreatedSize
eslint-plugin-wyze
933.4.06 years ago8 years agoMinified + gzip package size for eslint-plugin-wyze in KB

Readme

eslint-plugin-wyze
!Build Statustravis-imagetravis-url !npmnpm-imagenpm-url !devDependenciesdepsdev-imagedepsdev-url
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.1 (2017-06-27)

  • 9f0504d104 - Upgrade dependencies (Neil Kistner)
  • 22bea1f744 - Ensure rest property is last in sort-destructuring-keys rule (Neil Kistner)
  • 3f04cd2c66 - Fix bug in sort-destructuring-keys when 10+ keys are used (Neil Kistner)

License

MIT © Neil Kistner