Skip to content

Commit

Permalink
Remove newline-before-return rule
Browse files Browse the repository at this point in the history
Refs
 - 02b1ce7
  • Loading branch information
wyze committed Mar 11, 2016
1 parent 036964b commit 8f61376
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions rules/style.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,6 @@ module.exports = {
// allow/disallow an empty newline after var statement
// https://github.com/eslint/eslint/blob/master/docs/rules/newline-after-var.md
'newline-after-var': [2, 'always'],
// Require newline before return statement
// https://github.com/eslint/eslint/tree/master/docs/rules/newline-before-return.md
'newline-before-return': 2,
// disallow multiple empty lines and only one newline at the end
// https://github.com/eslint/eslint/blob/master/docs/rules/no-multiple-empty-lines.md
'no-multiple-empty-lines': [2, { 'max': 2, 'maxBOF': 0, 'maxEOF': 1 }],
Expand Down

0 comments on commit 8f61376

Please sign in to comment.