fix: space-before-function-paren allows space in anonymous and asyncArrow function. (#84)
This commit is contained in:
@@ -183,7 +183,14 @@ module.exports = {
|
||||
],
|
||||
'object-curly-spacing': ['error', 'always'],
|
||||
'no-return-await': 'off',
|
||||
'space-before-function-paren': ['error', 'never'],
|
||||
'space-before-function-paren': [
|
||||
'error',
|
||||
{
|
||||
'anonymous': 'always',
|
||||
'named': 'never',
|
||||
'asyncArrow': 'always'
|
||||
}
|
||||
],
|
||||
'no-multiple-empty-lines': ['error', { max: 1, maxBOF: 0, maxEOF: 1 }],
|
||||
|
||||
// es6
|
||||
|
||||
Reference in New Issue
Block a user