Skip to content

Commit 97b234f

Browse files
committed
Enable prefer-object-spread and no-useless-catch ESLint rules
1 parent ff9a8f0 commit 97b234f

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

index.js

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -182,6 +182,10 @@ module.exports = {
182182
'@typescript-eslint/prefer-namespace-keyword': 'error',
183183
'@typescript-eslint/promise-function-async': 'error',
184184
'@typescript-eslint/restrict-plus-operands': 'error',
185-
'@typescript-eslint/type-annotation-spacing': 'error'
185+
'@typescript-eslint/type-annotation-spacing': 'error',
186+
187+
// TypeScript supports these features
188+
'prefer-object-spread': 'error',
189+
'no-useless-catch': 'error'
186190
}
187191
};

0 commit comments

Comments
 (0)