Skip to content

Commit

Permalink
fix(eslint-config-angular): added recommended rules of best practices…
Browse files Browse the repository at this point in the history
… (#194)
  • Loading branch information
splincode authored Apr 21, 2022
1 parent 0c74d23 commit 0324843
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion packages/eslint-config-angular/rxjs/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,17 @@ module.exports = {
parser: '@typescript-eslint/parser',
plugins: ['rxjs'],
extends: ['plugin:rxjs/recommended'],
rules: {},
rules: {
'rxjs/no-compat': 'error',
'rxjs/no-connectable': 'error',
'rxjs/no-cyclic-action': 'error',
'rxjs/no-ignored-observable': 'error',
'rxjs/no-topromise': 'error',
'rxjs/no-unsafe-catch': 'error',
'rxjs/no-unsafe-first': 'error',
'rxjs/no-unsafe-switchmap': 'error',
'rxjs/throw-error': 'error',
},
},
],
};

0 comments on commit 0324843

Please sign in to comment.