Skip to content

Commit

Permalink
feat: use @typescript-eslint func-call-spacing equivalent
Browse files Browse the repository at this point in the history
BREAKING CHANGE: new rule @typescript-eslint/func-call-spacing

fixes #232
  • Loading branch information
felskov authored and mightyiam committed Feb 18, 2020
1 parent 4dff3e2 commit 5af8a26
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/index.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ test('export', (t): void => {
camelcase: 'off',
'comma-spacing': 'off',
'default-param-last': 'off',
'func-call-spacing': 'off',
indent: 'off',
'no-array-constructor': 'off',
'no-dupe-class-members': 'off',
Expand Down Expand Up @@ -66,6 +67,7 @@ test('export', (t): void => {
allowTypedFunctionExpressions: true,
allowDirectConstAssertionInArrowFunctions: true
}],
'@typescript-eslint/func-call-spacing': ['error', 'never'],
'@typescript-eslint/indent': ['error', 2, {
SwitchCase: 1,
VariableDeclarator: 1,
Expand Down
1 change: 1 addition & 0 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ import { rules as standardRules } from 'eslint-config-standard/eslintrc.json'
const equivalents = [
'comma-spacing',
'brace-style',
'func-call-spacing',
'indent',
'no-array-constructor',
'no-dupe-class-members',
Expand Down

0 comments on commit 5af8a26

Please sign in to comment.