Skip to content

Commit 113ffb3

Browse files
author
Tim Roes
committed
Add new eslint rules for TS
1 parent 439708a commit 113ffb3

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

packages/eslint-config-kibana/typescript.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -116,6 +116,7 @@ module.exports = {
116116
}],
117117
'@typescript-eslint/consistent-type-assertions': 'error',
118118
'@typescript-eslint/no-empty-interface': 'error',
119+
'@typescript-eslint/no-extra-non-null-assertion': 'error',
119120
'@typescript-eslint/no-misused-new': 'error',
120121
'@typescript-eslint/no-namespace': 'error',
121122
'@typescript-eslint/triple-slash-reference': ['error', {
@@ -167,6 +168,7 @@ module.exports = {
167168
'object-shorthand': 'error',
168169
'one-var': [ 'error', 'never' ],
169170
'prefer-const': 'error',
171+
'prefer-rest-params': 'error',
170172
'quotes': ['error', 'double', { 'avoidEscape': true }],
171173
'quote-props': ['error', 'consistent-as-needed'],
172174
'radix': 'error',

0 commit comments

Comments
 (0)