Skip to content

Commit

Permalink
feat(eslint-plugin): remove rules using @effect (#3635)
Browse files Browse the repository at this point in the history
  • Loading branch information
timdeschryver committed Oct 31, 2022
1 parent f8d0241 commit 5f74e61
Show file tree
Hide file tree
Showing 17 changed files with 0 additions and 670 deletions.

This file was deleted.

214 changes: 0 additions & 214 deletions modules/eslint-plugin/spec/rules/no-effect-decorator.spec.ts

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,6 @@ export = {
'@ngrx/updater-explicit-return-type': 'warn',
'@ngrx/avoid-cyclic-effects': 'warn',
'@ngrx/no-dispatch-in-effects': 'warn',
'@ngrx/no-effect-decorator-and-creator': 'error',
'@ngrx/no-effect-decorator': 'warn',
'@ngrx/no-effects-in-providers': 'error',
'@ngrx/no-multiple-actions-in-effects': 'warn',
'@ngrx/prefer-action-creator-in-of-type': 'warn',
Expand Down
2 changes: 0 additions & 2 deletions modules/eslint-plugin/src/configs/all.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@ export = {
rules: {
'@ngrx/updater-explicit-return-type': 'warn',
'@ngrx/no-dispatch-in-effects': 'warn',
'@ngrx/no-effect-decorator-and-creator': 'error',
'@ngrx/no-effect-decorator': 'warn',
'@ngrx/no-effects-in-providers': 'error',
'@ngrx/prefer-action-creator-in-of-type': 'warn',
'@ngrx/prefer-concat-latest-from': 'warn',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,6 @@ export = {
rules: {
'@ngrx/avoid-cyclic-effects': 'warn',
'@ngrx/no-dispatch-in-effects': 'warn',
'@ngrx/no-effect-decorator-and-creator': 'error',
'@ngrx/no-effect-decorator': 'warn',
'@ngrx/no-effects-in-providers': 'error',
'@ngrx/no-multiple-actions-in-effects': 'warn',
'@ngrx/prefer-action-creator-in-of-type': 'warn',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,6 @@ export = {
rules: {
'@ngrx/avoid-cyclic-effects': 'error',
'@ngrx/no-dispatch-in-effects': 'error',
'@ngrx/no-effect-decorator-and-creator': 'error',
'@ngrx/no-effect-decorator': 'error',
'@ngrx/no-effects-in-providers': 'error',
'@ngrx/no-multiple-actions-in-effects': 'error',
'@ngrx/prefer-action-creator-in-of-type': 'error',
Expand Down
2 changes: 0 additions & 2 deletions modules/eslint-plugin/src/configs/effects-strict.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,6 @@ export = {
plugins: ['@ngrx'],
rules: {
'@ngrx/no-dispatch-in-effects': 'error',
'@ngrx/no-effect-decorator-and-creator': 'error',
'@ngrx/no-effect-decorator': 'error',
'@ngrx/no-effects-in-providers': 'error',
'@ngrx/prefer-action-creator-in-of-type': 'error',
'@ngrx/prefer-concat-latest-from': 'error',
Expand Down
2 changes: 0 additions & 2 deletions modules/eslint-plugin/src/configs/effects.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,6 @@ export = {
plugins: ['@ngrx'],
rules: {
'@ngrx/no-dispatch-in-effects': 'warn',
'@ngrx/no-effect-decorator-and-creator': 'error',
'@ngrx/no-effect-decorator': 'warn',
'@ngrx/no-effects-in-providers': 'error',
'@ngrx/prefer-action-creator-in-of-type': 'warn',
'@ngrx/prefer-concat-latest-from': 'warn',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,6 @@ export = {
'@ngrx/updater-explicit-return-type': 'warn',
'@ngrx/avoid-cyclic-effects': 'warn',
'@ngrx/no-dispatch-in-effects': 'warn',
'@ngrx/no-effect-decorator-and-creator': 'error',
'@ngrx/no-effect-decorator': 'warn',
'@ngrx/no-effects-in-providers': 'error',
'@ngrx/no-multiple-actions-in-effects': 'warn',
'@ngrx/prefer-action-creator-in-of-type': 'warn',
Expand Down
2 changes: 0 additions & 2 deletions modules/eslint-plugin/src/configs/recommended.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@ export = {
rules: {
'@ngrx/updater-explicit-return-type': 'warn',
'@ngrx/no-dispatch-in-effects': 'warn',
'@ngrx/no-effect-decorator-and-creator': 'error',
'@ngrx/no-effect-decorator': 'warn',
'@ngrx/no-effects-in-providers': 'error',
'@ngrx/prefer-action-creator-in-of-type': 'warn',
'@ngrx/prefer-concat-latest-from': 'warn',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,6 @@ export = {
'@ngrx/updater-explicit-return-type': 'error',
'@ngrx/avoid-cyclic-effects': 'error',
'@ngrx/no-dispatch-in-effects': 'error',
'@ngrx/no-effect-decorator-and-creator': 'error',
'@ngrx/no-effect-decorator': 'error',
'@ngrx/no-effects-in-providers': 'error',
'@ngrx/no-multiple-actions-in-effects': 'error',
'@ngrx/prefer-action-creator-in-of-type': 'error',
Expand Down
Loading

0 comments on commit 5f74e61

Please sign in to comment.