Skip to content
This repository has been archived by the owner on Jan 9, 2019. It is now read-only.

Commit

Permalink
Merge pull request #19 from Automattic/add/async-arrow-space-paren-al…
Browse files Browse the repository at this point in the history
…ways

Add space before parent always for async arrows
  • Loading branch information
blowery authored Apr 25, 2018
2 parents 5f752b6 + e97c102 commit 98f2965
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,11 @@ module.exports = {
semi: 2,
'semi-spacing': 2,
'space-before-blocks': [ 2, 'always' ],
'space-before-function-paren': [ 2, 'never' ],
'space-before-function-paren': [ 'error', {
anonymous: 'never',
asyncArrow: 'always',
named: 'never',
} ],
'space-in-parens': [ 2, 'always' ],
'space-infix-ops': [ 2, { int32Hint: false } ],
'space-unary-ops': [ 2, {
Expand Down

0 comments on commit 98f2965

Please sign in to comment.