Skip to content

Commit

Permalink
feat: rule @typescript-eslint/keyword-spacing
Browse files Browse the repository at this point in the history
  • Loading branch information
mightyiam committed Apr 23, 2020
1 parent 3015c46 commit 728a592
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 @@ -37,6 +37,7 @@ test('export', (t): void => {
'default-param-last': 'off',
'func-call-spacing': 'off',
indent: 'off',
'keyword-spacing': 'off',
'no-array-constructor': 'off',
'no-dupe-class-members': 'off',
'no-throw-literal': 'off',
Expand Down Expand Up @@ -84,6 +85,7 @@ test('export', (t): void => {
ignoreComments: false,
ignoredNodes: ['TemplateLiteral *']
}],
'@typescript-eslint/keyword-spacing': ['error', { before: true, after: true }],
'@typescript-eslint/member-delimiter-style': [
'error',
{
Expand Down
1 change: 1 addition & 0 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ const equivalents = [
'brace-style',
'func-call-spacing',
'indent',
'keyword-spacing',
'no-array-constructor',
'no-dupe-class-members',
'no-throw-literal',
Expand Down

0 comments on commit 728a592

Please sign in to comment.