This package has been deprecated

Author message:

This functionality is now built into eslint v0.20.0

eslint-plugin-one-var-es6

1.0.7 • Public • Published

eslint-plugin-one-var-es6 NPM version Build Status Dependency Status

THIS MODULE IS DEPRECATED

It's functionality was added in eslint v0.20.0

Custom eslint rule for one-var that adds es6 compat

Table of Contents generated with DocToc

Install

npm i -S eslint-plugin-one-var-es6

Usage

// .eslintrc
 
"plugins": [
  "eslint-plugin-one-var-es6"
],
"rules": {
    "eslint-plugin-one-var-es6/one-var-es6": [2, "always"],
    "eslint-plugin-one-var-es6/one-let": [2, "never"],
    "eslint-plugin-one-var-es6/one-const": [2, "never"]
}
 

Tests

Tests are run with eslint-tester.

  • npm test will run the tests
  • npm run tdd will run the tests on every file change.

Developing

To publish, run npm run release -- [{patch,minor,major}]

NOTE: you might need to sudo ln -s /usr/local/bin/node /usr/bin/node to ensure node is in your path for the git hooks to work

Requirements

  • npm > 2.0.0 So that passing args to a npm script will work. npm i -g npm
  • git > 1.8.3 So that git push --follow-tags will work. brew install git

License

Artistic 2.0 © Joey Baker

/eslint-plugin-one-var-es6/

    Package Sidebar

    Install

    npm i eslint-plugin-one-var-es6

    Weekly Downloads

    7

    Version

    1.0.7

    License

    Artistic-2.0

    Last publish

    Collaborators

    • joeybaker