Skip to content

Commit f123e58

Browse files
feat(recommended)!: add four rules to recommended
1 parent 1a2e615 commit f123e58

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/configs/recommended.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,12 @@ export const createRecommendedConfig = (
1919
'rxjs-x/no-redundant-notify': 'error',
2020
'rxjs-x/no-sharereplay': 'error',
2121
'rxjs-x/no-subject-unsubscribe': 'error',
22+
'rxjs-x/no-topromise': 'error',
2223
'rxjs-x/no-unbound-methods': 'error',
2324
'rxjs-x/no-unsafe-subject-next': 'error',
2425
'rxjs-x/no-unsafe-takeuntil': 'error',
26+
'rxjs-x/prefer-observer': 'error',
27+
'rxjs-x/prefer-root-operators': 'error',
28+
'rxjs-x/throw-error': 'error',
2529
},
2630
} satisfies TSESLint.FlatConfig.Config);

0 commit comments

Comments
 (0)