mirror of
https://github.com/jsdoc/jsdoc.git
synced 2025-12-08 19:46:11 +00:00
allow space after async in async () => {}
This commit is contained in:
parent
a9c7f029aa
commit
ac7408fc71
@ -284,7 +284,11 @@ module.exports = {
|
|||||||
'sort-keys': 'off',
|
'sort-keys': 'off',
|
||||||
'sort-vars': 'off', // TODO: enable?
|
'sort-vars': 'off', // TODO: enable?
|
||||||
'space-before-blocks': ['error', 'always'],
|
'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-in-parens': 'off', // TODO: enable?
|
||||||
'space-infix-ops': 'error',
|
'space-infix-ops': 'error',
|
||||||
'space-unary-ops': 'error',
|
'space-unary-ops': 'error',
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user