Skip to content

Commit 2cef998

Browse files
committed
fix: enable typescript-eslint's no-loop-func extension
1 parent 4d03f68 commit 2cef998

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

bases/typescript.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,8 @@ module.exports = {
3131
// TODO: Should be covered by a type-based rule
3232
// 'import/no-deprecated': 'off',
3333

34+
'no-loop-func': 'off',
35+
'@typescript-eslint/no-loop-func': 'error',
3436
'@typescript-eslint/adjacent-overload-signatures': 'error',
3537
'@typescript-eslint/array-type': 'error',
3638
'@typescript-eslint/await-thenable': 'error',

0 commit comments

Comments
 (0)