eslint-plugin-one-var-es6
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
"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 testsnpm 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