Skip to content

Commit

Permalink
Add new eslint rules for TS (#51876)
Browse files Browse the repository at this point in the history
  • Loading branch information
Tim Roes authored and timroes committed Nov 29, 2019
1 parent 61f5787 commit 71fa964
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/eslint-config-kibana/typescript.js
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,7 @@ module.exports = {
}],
'@typescript-eslint/consistent-type-assertions': 'error',
'@typescript-eslint/no-empty-interface': 'error',
'@typescript-eslint/no-extra-non-null-assertion': 'error',
'@typescript-eslint/no-misused-new': 'error',
'@typescript-eslint/no-namespace': 'error',
'@typescript-eslint/triple-slash-reference': ['error', {
Expand Down Expand Up @@ -168,6 +169,7 @@ module.exports = {
'object-shorthand': 'error',
'one-var': [ 'error', 'never' ],
'prefer-const': 'error',
'prefer-rest-params': 'error',
'quotes': ['error', 'double', { 'avoidEscape': true }],
'quote-props': ['error', 'consistent-as-needed'],
'radix': 'error',
Expand Down

0 comments on commit 71fa964

Please sign in to comment.