eslint-plugin-wyze
My personal ESLint rules.
Last updated 3 years ago by wyze .
MIT · Repository · Original npm · Tarball · package.json
$ cnpm install eslint-plugin-wyze 
SYNC missed versions from official npm registry.

eslint-plugin-wyze

Build Status npm devDependencies

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

Current Tags

  • 3.4.0                                ...           latest (3 years ago)

16 Versions

  • 3.4.0                                ...           3 years ago
  • 3.3.1                                ...           4 years ago
  • 3.3.0                                ...           4 years ago
  • 3.2.1                                ...           4 years ago
  • 3.2.0                                ...           4 years ago
  • 3.1.0                                ...           4 years ago
  • 3.0.1                                ...           4 years ago
  • 3.0.0                                ...           4 years ago
  • 2.0.0                                ...           4 years ago
  • 1.4.0                                ...           5 years ago
  • 1.3.1                                ...           5 years ago
  • 1.3.0                                ...           5 years ago
  • 1.2.1                                ...           5 years ago
  • 1.2.0                                ...           5 years ago
  • 1.1.0                                ...           5 years ago
  • 1.0.0                                ...           5 years ago

Copyright 2014 - 2016 © taobao.org |