Skip to content

Commit

Permalink
Merge pull request #13 from Meetic/feat/rules-add-no-cond-assign
Browse files Browse the repository at this point in the history
Feat/rules add no-cond-assign
  • Loading branch information
alexbrbr authored Dec 12, 2016
2 parents 9df47ff + abbd4b2 commit 2828ad1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,6 @@
"deep-extend": "^0.4.1"
},
"devDependencies": {
"eslint": "^3.10.2"
"eslint": "^3.12.0"
}
}
2 changes: 2 additions & 0 deletions rules/possible-errors.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@

module.exports = {
rules: {
// Disallow await inside of loops
'no-await-in-loop': 2,
// Disallow assignment in conditional expressions
'no-cond-assign': 2,
// Disallow use of console (off by default in the node environment)
Expand Down

0 comments on commit 2828ad1

Please sign in to comment.