Skip to content

Commit 5f74e61

Browse files
feat(eslint-plugin): remove rules using @effect (#3635)
1 parent f8d0241 commit 5f74e61

17 files changed

+0
-670
lines changed

modules/eslint-plugin/spec/rules/no-effect-decorator-and-creator.spec.ts

Lines changed: 0 additions & 103 deletions
This file was deleted.

modules/eslint-plugin/spec/rules/no-effect-decorator.spec.ts

Lines changed: 0 additions & 214 deletions
This file was deleted.

modules/eslint-plugin/src/configs/all-requiring-type-checking.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,6 @@ export = {
1515
'@ngrx/updater-explicit-return-type': 'warn',
1616
'@ngrx/avoid-cyclic-effects': 'warn',
1717
'@ngrx/no-dispatch-in-effects': 'warn',
18-
'@ngrx/no-effect-decorator-and-creator': 'error',
19-
'@ngrx/no-effect-decorator': 'warn',
2018
'@ngrx/no-effects-in-providers': 'error',
2119
'@ngrx/no-multiple-actions-in-effects': 'warn',
2220
'@ngrx/prefer-action-creator-in-of-type': 'warn',

modules/eslint-plugin/src/configs/all.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,6 @@ export = {
1010
rules: {
1111
'@ngrx/updater-explicit-return-type': 'warn',
1212
'@ngrx/no-dispatch-in-effects': 'warn',
13-
'@ngrx/no-effect-decorator-and-creator': 'error',
14-
'@ngrx/no-effect-decorator': 'warn',
1513
'@ngrx/no-effects-in-providers': 'error',
1614
'@ngrx/prefer-action-creator-in-of-type': 'warn',
1715
'@ngrx/prefer-concat-latest-from': 'warn',

modules/eslint-plugin/src/configs/effects-requiring-type-checking.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,6 @@ export = {
1414
rules: {
1515
'@ngrx/avoid-cyclic-effects': 'warn',
1616
'@ngrx/no-dispatch-in-effects': 'warn',
17-
'@ngrx/no-effect-decorator-and-creator': 'error',
18-
'@ngrx/no-effect-decorator': 'warn',
1917
'@ngrx/no-effects-in-providers': 'error',
2018
'@ngrx/no-multiple-actions-in-effects': 'warn',
2119
'@ngrx/prefer-action-creator-in-of-type': 'warn',

modules/eslint-plugin/src/configs/effects-strict-requiring-type-checking.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,6 @@ export = {
1414
rules: {
1515
'@ngrx/avoid-cyclic-effects': 'error',
1616
'@ngrx/no-dispatch-in-effects': 'error',
17-
'@ngrx/no-effect-decorator-and-creator': 'error',
18-
'@ngrx/no-effect-decorator': 'error',
1917
'@ngrx/no-effects-in-providers': 'error',
2018
'@ngrx/no-multiple-actions-in-effects': 'error',
2119
'@ngrx/prefer-action-creator-in-of-type': 'error',

modules/eslint-plugin/src/configs/effects-strict.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,6 @@ export = {
99
plugins: ['@ngrx'],
1010
rules: {
1111
'@ngrx/no-dispatch-in-effects': 'error',
12-
'@ngrx/no-effect-decorator-and-creator': 'error',
13-
'@ngrx/no-effect-decorator': 'error',
1412
'@ngrx/no-effects-in-providers': 'error',
1513
'@ngrx/prefer-action-creator-in-of-type': 'error',
1614
'@ngrx/prefer-concat-latest-from': 'error',

modules/eslint-plugin/src/configs/effects.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,6 @@ export = {
99
plugins: ['@ngrx'],
1010
rules: {
1111
'@ngrx/no-dispatch-in-effects': 'warn',
12-
'@ngrx/no-effect-decorator-and-creator': 'error',
13-
'@ngrx/no-effect-decorator': 'warn',
1412
'@ngrx/no-effects-in-providers': 'error',
1513
'@ngrx/prefer-action-creator-in-of-type': 'warn',
1614
'@ngrx/prefer-concat-latest-from': 'warn',

modules/eslint-plugin/src/configs/recommended-requiring-type-checking.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,6 @@ export = {
1515
'@ngrx/updater-explicit-return-type': 'warn',
1616
'@ngrx/avoid-cyclic-effects': 'warn',
1717
'@ngrx/no-dispatch-in-effects': 'warn',
18-
'@ngrx/no-effect-decorator-and-creator': 'error',
19-
'@ngrx/no-effect-decorator': 'warn',
2018
'@ngrx/no-effects-in-providers': 'error',
2119
'@ngrx/no-multiple-actions-in-effects': 'warn',
2220
'@ngrx/prefer-action-creator-in-of-type': 'warn',

modules/eslint-plugin/src/configs/recommended.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,6 @@ export = {
1010
rules: {
1111
'@ngrx/updater-explicit-return-type': 'warn',
1212
'@ngrx/no-dispatch-in-effects': 'warn',
13-
'@ngrx/no-effect-decorator-and-creator': 'error',
14-
'@ngrx/no-effect-decorator': 'warn',
1513
'@ngrx/no-effects-in-providers': 'error',
1614
'@ngrx/prefer-action-creator-in-of-type': 'warn',
1715
'@ngrx/prefer-concat-latest-from': 'warn',

0 commit comments

Comments
 (0)