eslint-one-var-es6
Advanced tools
Comparing version 1.0.3 to 1.0.4
# Changelog | ||
## v1.0.4 | 2015-04-14 | ||
* fix name. #oops | ||
## v1.0.3 | 2015-04-14 | ||
@@ -20,1 +23,2 @@ * table of contents update | ||
@@ -5,3 +5,3 @@ "use strict"; | ||
rules: { | ||
"one-var-es5": require("./rules/one-var-es5.js"), | ||
"one-var-es6": require("./rules/one-var-es6.js"), | ||
"one-let": require("./lib/rules/one-let.js"), | ||
@@ -11,5 +11,6 @@ "one-const": require("./lib/rules/one-const.js") | ||
rulesConfig: { | ||
"one-var-es5": [1, "always"], | ||
"one-var-es6": [2, "never"] | ||
"one-var-es6": [1, "always"], | ||
"one-let": [1, "never"], | ||
"one-const": [1, "never"] | ||
} | ||
}; |
{ | ||
"version": "1.0.3", | ||
"version": "1.0.4", | ||
"name": "eslint-one-var-es6", | ||
@@ -4,0 +4,0 @@ "description": "eslint rule for one-var that adds es6 compat", |
@@ -1,2 +0,2 @@ | ||
# eslint-one-var-es5 [![NPM version][npm-image]][npm-url] [![Build Status][travis-image]][travis-url] [![Dependency Status][daviddm-url]][daviddm-image] | ||
# eslint-one-var-es6 [![NPM version][npm-image]][npm-url] [![Build Status][travis-image]][travis-url] [![Dependency Status][daviddm-url]][daviddm-image] | ||
@@ -21,3 +21,3 @@ Custom eslint rule for one-var that adds es6 compat | ||
```sh | ||
npm i -S eslint-one-var-es5 | ||
npm i -S eslint-one-var-es6 | ||
``` | ||
@@ -32,8 +32,8 @@ | ||
"plugins": [ | ||
"eslint-one-var-es5" | ||
"eslint-one-var-es6" | ||
], | ||
"rules": { | ||
"eslint-one-var-es5/one-var-es5": [2, "always"], | ||
"eslint-one-var-es5/one-let": [2, "never"], | ||
"eslint-one-var-es5/one-const": [2, "never"] | ||
"eslint-one-var-es6/one-var-es6": [2, "always"], | ||
"eslint-one-var-es6/one-let": [2, "never"], | ||
"eslint-one-var-es6/one-const": [2, "never"] | ||
} | ||
@@ -63,7 +63,7 @@ | ||
[npm-url]: https://npmjs.org/package/eslint-one-var-es5 | ||
[npm-image]: https://badge.fury.io/js/eslint-one-var-es5.svg | ||
[travis-url]: https://travis-ci.org/joeybaker/eslint-one-var-es5 | ||
[travis-image]: https://travis-ci.org/joeybaker/eslint-one-var-es5.svg?branch=master | ||
[daviddm-url]: https://david-dm.org/joeybaker/eslint-one-var-es5.svg?theme=shields.io | ||
[daviddm-image]: https://david-dm.org/joeybaker/eslint-one-var-es5 | ||
[npm-url]: https://npmjs.org/package/eslint-one-var-es6 | ||
[npm-image]: https://badge.fury.io/js/eslint-one-var-es6.svg | ||
[travis-url]: https://travis-ci.org/joeybaker/eslint-one-var-es6 | ||
[travis-image]: https://travis-ci.org/joeybaker/eslint-one-var-es6.svg?branch=master | ||
[daviddm-url]: https://david-dm.org/joeybaker/eslint-one-var-es6.svg?theme=shields.io | ||
[daviddm-image]: https://david-dm.org/joeybaker/eslint-one-var-es6 |
31065
245