|
| 1 | +/** |
| 2 | + * DO NOT EDIT |
| 3 | + * This file is generated |
| 4 | + */ |
| 5 | + |
| 6 | +import type { TSESLint } from '@typescript-eslint/utils'; |
| 7 | + |
| 8 | +export default ( |
| 9 | + plugin: TSESLint.FlatConfig.Plugin, |
| 10 | + parser: TSESLint.FlatConfig.Parser |
| 11 | +): TSESLint.FlatConfig.ConfigArray => [ |
| 12 | + { |
| 13 | + name: 'ngrx/base', |
| 14 | + languageOptions: { |
| 15 | + parser, |
| 16 | + }, |
| 17 | + plugins: { |
| 18 | + '@ngrx': plugin, |
| 19 | + }, |
| 20 | + }, |
| 21 | + { |
| 22 | + name: 'ngrx/all-type-checked', |
| 23 | + languageOptions: { |
| 24 | + parser, |
| 25 | + }, |
| 26 | + rules: { |
| 27 | + '@ngrx/avoid-combining-component-store-selectors': 'error', |
| 28 | + '@ngrx/avoid-mapping-component-store-selectors': 'error', |
| 29 | + '@ngrx/require-super-ondestroy': 'error', |
| 30 | + '@ngrx/updater-explicit-return-type': 'error', |
| 31 | + '@ngrx/avoid-cyclic-effects': 'error', |
| 32 | + '@ngrx/no-dispatch-in-effects': 'error', |
| 33 | + '@ngrx/no-effects-in-providers': 'error', |
| 34 | + '@ngrx/no-multiple-actions-in-effects': 'error', |
| 35 | + '@ngrx/prefer-action-creator-in-of-type': 'error', |
| 36 | + '@ngrx/prefer-effect-callback-in-block-statement': 'error', |
| 37 | + '@ngrx/use-effects-lifecycle-interface': 'error', |
| 38 | + '@ngrx/prefer-concat-latest-from': 'error', |
| 39 | + '@ngrx/enforce-type-call': 'error', |
| 40 | + '@ngrx/prefer-protected-state': 'error', |
| 41 | + '@ngrx/signal-state-no-arrays-at-root-level': 'error', |
| 42 | + '@ngrx/signal-store-feature-should-use-generic-type': 'error', |
| 43 | + '@ngrx/with-state-no-arrays-at-root-level': 'error', |
| 44 | + '@ngrx/avoid-combining-selectors': 'error', |
| 45 | + '@ngrx/avoid-dispatching-multiple-actions-sequentially': 'error', |
| 46 | + '@ngrx/avoid-duplicate-actions-in-reducer': 'error', |
| 47 | + '@ngrx/avoid-mapping-selectors': 'error', |
| 48 | + '@ngrx/good-action-hygiene': 'error', |
| 49 | + '@ngrx/no-multiple-global-stores': 'error', |
| 50 | + '@ngrx/no-reducer-in-key-names': 'error', |
| 51 | + '@ngrx/no-store-subscription': 'error', |
| 52 | + '@ngrx/no-typed-global-store': 'error', |
| 53 | + '@ngrx/on-function-explicit-return-type': 'error', |
| 54 | + '@ngrx/prefer-action-creator-in-dispatch': 'error', |
| 55 | + '@ngrx/prefer-action-creator': 'error', |
| 56 | + '@ngrx/prefer-inline-action-props': 'error', |
| 57 | + '@ngrx/prefer-one-generic-in-create-for-feature-selector': 'error', |
| 58 | + '@ngrx/prefer-selector-in-select': 'error', |
| 59 | + '@ngrx/prefix-selectors-with-select': 'error', |
| 60 | + '@ngrx/select-style': 'error', |
| 61 | + '@ngrx/use-consistent-global-store-name': 'error', |
| 62 | + }, |
| 63 | + }, |
| 64 | +]; |
0 commit comments