Skip to content

Commit

Permalink
Update eslint
Browse files Browse the repository at this point in the history
  • Loading branch information
ljharb committed Jun 25, 2015
1 parent 2f04ca8 commit 05d1850
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
9 changes: 6 additions & 3 deletions .eslintrc
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
"comma-spacing": [2],
"comma-style": [2, "last"],
"complexity": [0, 11],
"computed-property-spacing": [2, "never"],
"consistent-return": [2],
"consistent-this": [0, "that"],
"curly": [2, "all"],
Expand All @@ -24,7 +25,7 @@
"eol-last": [2],
"eqeqeq": [2],
"func-names": [0],
"func-style": [2, "declaration"],
"func-style": [2, "expression"],
"generator-star-spacing": [2, "after"],
"global-strict": [0, "never"],
"guard-for-in": [0],
Expand Down Expand Up @@ -131,7 +132,7 @@
"no-unreachable": [2],
"no-unused-expressions": [2],
"no-unused-vars": [2, { "vars": "all", "args": "after-used" }],
"no-use-before-define": [1],
"no-use-before-define": [2],
"no-void": [0],
"no-warning-comments": [0, { "terms": ["todo", "fixme", "xxx"], "location": "start" }],
"no-with": [2],
Expand All @@ -142,6 +143,7 @@
"operator-assignment": [0, "always"],
"operator-linebreak": [2, "none"],
"padded-blocks": [0],
"prefer-const": [0],
"quote-props": [0],
"radix": [0],
"semi": [2],
Expand All @@ -162,6 +164,7 @@
"space-infix-ops": [2],
"space-return-throw-case": [2],
"space-unary-ops": [2, { "words": true, "nonwords": false }],
"spaced-comment": [2, "always"],
"spaced-line-comment": [0, "always"],
"strict": [0],
"use-isnan": [2],
Expand All @@ -170,6 +173,6 @@
"vars-on-top": [0],
"wrap-iife": [2],
"wrap-regex": [2],
"yoda": [2, "never", { "exceptRange": true }]
"yoda": [2, "never", { "exceptRange": true, "onlyEquality": false }]
}
}
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
"devDependencies": {
"tape": "^4.0.0",
"jscs": "^1.13.1",
"eslint": "^0.22.1"
"eslint": "^0.23.0"
},
"licenses": [
{
Expand Down

0 comments on commit 05d1850

Please sign in to comment.