allow space after async in async () => {}

This commit is contained in:
Jeff Williams 2019-09-21 13:35:51 -07:00
parent a9c7f029aa
commit ac7408fc71

View File

@ -284,7 +284,11 @@ module.exports = {
'sort-keys': 'off',
'sort-vars': 'off', // TODO: enable?
'space-before-blocks': ['error', 'always'],
'space-before-function-paren': ['error', 'never'],
'space-before-function-paren': ['error', {
anonymous: 'never',
named: 'never',
asyncArrow: 'always'
}],
'space-in-parens': 'off', // TODO: enable?
'space-infix-ops': 'error',
'space-unary-ops': 'error',