Skip to content

Commit

Permalink
Add @typescript-eslint/space-before-function-paren rule
Browse files Browse the repository at this point in the history
  • Loading branch information
sindresorhus committed Nov 18, 2019
1 parent 9ff2b9c commit 2e93b3f
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -283,6 +283,15 @@ module.exports = {
// 'require-await': 'off',
// '@typescript-eslint/require-await': 'error',

'space-before-function-paren': 'off',
'@typescript-eslint/space-before-function-paren': [
'error',
{
anonymous: 'always',
named: 'never',
asyncArrow: 'always'
}
],
semi: 'off',
'@typescript-eslint/semi': [
'error',
Expand Down

0 comments on commit 2e93b3f

Please sign in to comment.