Skip to content

Commit

Permalink
Add TS version of the func-call-spacing rule
Browse files Browse the repository at this point in the history
  • Loading branch information
sindresorhus committed May 10, 2019
1 parent 8fc8601 commit 1c5b79f
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,11 @@ module.exports = {
'error',
'^T$|^[A-Z][a-zA-Z]+$'
],
'func-call-spacing': 'off',
'@typescript-eslint/func-call-spacing': [
'error',
'never'
],
indent: 'off',
'@typescript-eslint/indent': [
'error',
Expand Down Expand Up @@ -211,10 +216,11 @@ module.exports = {

'@typescript-eslint/restrict-plus-operands': 'error',
'@typescript-eslint/require-array-sort-compare': 'error',

semi: 'off',
'@typescript-eslint/semi': 'error',

'@typescript-eslint/semi': [
'error',
'always'
],
'@typescript-eslint/type-annotation-spacing': 'error',

// Disabled as it crashes on most code
Expand Down

0 comments on commit 1c5b79f

Please sign in to comment.