Skip to content

Commit

Permalink
feat(eslint-plugin-experience): add no-restricted-imports
Browse files Browse the repository at this point in the history
  • Loading branch information
splincode committed Dec 18, 2023
1 parent 2085286 commit c6c64f5
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions projects/eslint-plugin-experience/all.js
Original file line number Diff line number Diff line change
Expand Up @@ -567,6 +567,17 @@ module.exports = {
'no-implicit-coercion': ['error', {allow: ['!!']}],
'no-irregular-whitespace': 'error',
'no-loop-func': 'error',
'no-restricted-imports': [
'error',
{
patterns: [
{
group: ['rxjs/operators'],
message: "Don't use 'rxjs/operators' instead of 'rxjs'",
},
],
},
],
'no-restricted-syntax': [
'error',
{
Expand Down

0 comments on commit c6c64f5

Please sign in to comment.