Skip to content

Commit

Permalink
Enable newline-after-var rule
Browse files Browse the repository at this point in the history
  • Loading branch information
wyze committed Mar 3, 2016
1 parent 435f5fe commit 20c7ee9
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions rules/style.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@ module.exports = {
'ignoreUrls': true,
'ignoreComments': false
}],
// 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 or disallow use of semicolons instead of ASI
// I use Babel, it takes care of this for me
'semi': [2, 'never'],
Expand Down

0 comments on commit 20c7ee9

Please sign in to comment.