Skip to content

Commit

Permalink
Restore no-console from recommended
Browse files Browse the repository at this point in the history
Since it was removed in `eslint` 6
  • Loading branch information
Yves committed Aug 28, 2019
1 parent 96d0fd4 commit 9bf67ab
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
3 changes: 1 addition & 2 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
{
"env" : { "es6": true, "node": true, "browser": true, "mocha": true },
"rules" : { "no-console": 2 }
"env" : { "es6": true, "node": true, "browser": true, "mocha": true }
}
1 change: 1 addition & 0 deletions lib/configs/recommended.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ module.exports = {
'eqeqeq' : 2,
'no-alert' : 2,
'no-caller' : 2,
'no-console' : 2,
'no-else-return' : 1,
'no-empty-function' : [2, { allow: ['arrowFunctions', 'constructors'] }],
'no-empty-pattern' : 2,
Expand Down

0 comments on commit 9bf67ab

Please sign in to comment.