Skip to content

Commit

Permalink
feat: enforce space before asyncArrow func paren (#28)
Browse files Browse the repository at this point in the history
* feat: enforce space before asyncArrow function paren
* style: split into separate lines & remove key's quote
  • Loading branch information
SukkaW committed Dec 17, 2019
1 parent ada1570 commit 6b200b8
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion eslint.js
Expand Up @@ -103,7 +103,11 @@ module.exports = {
after: true
}],
'space-before-blocks': 'error',
'space-before-function-paren': ['error', 'never'],
'space-before-function-paren': ['error', {
anonymous: 'never',
named: 'never',
asyncArrow: 'always'
}],
'space-in-parens': 'error',
'space-infix-ops': 'error',
'space-unary-ops': ['error', {
Expand Down

0 comments on commit 6b200b8

Please sign in to comment.