Updated eslint to 1.2.1

This patch updates eslint to 1.2.1, and adds all new rules that
were added in a disabled state.

Change-Id: I523ade5c7fc9a44dfe4b9fe8ea7f7b2c71ebf85e
This commit is contained in:
Michael Krotscheck 2015-08-28 10:42:40 -07:00
parent d67ab88e21
commit f52ce31dae
2 changed files with 18 additions and 2 deletions

View File

@ -514,6 +514,10 @@ rules:
# http://eslint.org/docs/rules/array-bracket-spacing
array-bracket-spacing: 0 # TODO(krotscheck): Discuss & Activate
# disallow or enforce spaces inside of single line blocks
# http://eslint.org/docs/rules/block-spacing
block-spacing: 0 # TODO(krotscheck): Discuss & Activate
# Enforce one true brace style
# http://eslint.org/docs/rules/brace-style
brace-style: 0 # TODO(krotscheck): Discuss & Activate
@ -775,6 +779,10 @@ rules:
# http://eslint.org/docs/rules/no-const-assign
no-const-assign: 0
# disallow duplicate name in class members
# http://eslint.org/docs/rules/no-dupe-class-members
no-dupe-class-members: 0
# disallow use of this/super before calling super() in constructors
# http://eslint.org/docs/rules/no-this-before-super
no-this-before-super: 0
@ -787,6 +795,10 @@ rules:
# http://eslint.org/docs/rules/object-shorthand
object-shorthand: 0
# suggest using arrow functions as callbacks
# http://eslint.org/docs/rules/prefer-arrow-callback
prefer-arrow-callback: 0
# suggest using of const declaration for variables that are never modified after declared
# http://eslint.org/docs/rules/prefer-const
prefer-const: 0
@ -799,6 +811,10 @@ rules:
# http://eslint.org/docs/rules/prefer-reflect
prefer-reflect: 0
# suggest using template literals instead of strings concatenation
# http://eslint.org/docs/rules/prefer-template
prefer-template: 0
# disallow generator functions that do not have yield
# http://eslint.org/docs/rules/require-yield
require-yield: 0

View File

@ -29,10 +29,10 @@
},
"homepage": "https://wiki.openstack.org/wiki/QA",
"peerDependencies": {
"eslint": "^1.0.0"
"eslint": "^1.2.1"
},
"devDependencies": {
"eslint": "1.0.0",
"eslint": "1.2.1",
"jasmine": "2.3.1"
},
"dependencies": {