@opsydyn/oxlint-effect 0.4.0 → 0.5.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -55,6 +55,11 @@ Named group presets:
55
55
  | `atomStateAndPlatformBoundaries` | Atom, State, and Platform Boundaries |
56
56
  | `domainModeling` | Domain Modeling |
57
57
  | `ddd` | Alias for `domainModeling` |
58
+ | `effectFlow` | Effect Flow |
59
+ | `pureTransformation` | Pure Transformation |
60
+ | `behaviorDecoration` | Behavior Decoration |
61
+ | `styleSeparation` | Style Separation |
62
+ | `serviceAndLayerArchitecture` | Service and Layer Architecture |
58
63
 
59
64
  Each preset also has a rule-only export with a `Rules` suffix. Use those when
60
65
  you want to compose multiple groups:
@@ -131,6 +136,55 @@ boundaries.
131
136
  | `linteffect/no-effect-type-alias` | Type aliases around `Effect.Effect<...>`. | Keeps service surfaces concrete and discoverable. |
132
137
  | `linteffect/no-public-generic-effect-error` | Exported APIs returning `Effect.Effect<_, Error, _>`. | Public Effect APIs should expose tagged, recoverable domain errors instead of generic `Error`. |
133
138
 
139
+ ### Effect Flow
140
+
141
+ | Rule | Catches | Why |
142
+ | --- | --- | --- |
143
+ | `linteffect/no-piped-yield-in-gen` | Two or more `yield* effect.pipe(...)` steps inside one `Effect.gen`. | Keeps decorated effects named before the workflow so generator bodies read as a clear story. |
144
+ | `linteffect/no-gen-for-mapping` | Tiny `Effect.gen` blocks that yield once and return a pure transform. | Simple value mapping belongs in `Effect.map` or a named pure transformation, not workflow syntax. |
145
+ | `linteffect/prefer-gen-for-workflow` | Pipelines with three or more sequencing combinators such as `Effect.flatMap`, `Effect.andThen`, `Effect.tap`, or `Effect.zipRight`. | Long sequencing pipelines read like imperative workflow; `Effect.gen` makes the happy path explicit. |
146
+
147
+ ### Pure Transformation
148
+
149
+ | Rule | Catches | Why |
150
+ | --- | --- | --- |
151
+ | `linteffect/no-large-anonymous-flow` | `flow(...)` expressions with five or more transformation steps. | Large pure pipelines need a domain name so the transformation is reusable and reviewable. |
152
+ | `linteffect/no-effect-in-flow` | `Effect.*`, `yield`, `await`, async callbacks, console calls, `Promise`, or runtime access inside `flow(...)`. | `flow()` should stay pure; effectful workflow, retries, logging, and dependency access belong in Effect code. |
153
+ | `linteffect/prefer-named-flow` | Non-trivial `flow(...)` expressions passed inline as callback/combinator arguments. | Naming the transformation makes DTO mapping and business calculations explicit instead of anonymous callback logic. |
154
+
155
+ ### Behavior Decoration
156
+
157
+ | Rule | Catches | Why |
158
+ | --- | --- | --- |
159
+ | `linteffect/prefer-pipe-for-behavior` | Static behavior decorators such as `Effect.retry(Effect.succeed(...), policy)`. | Retry, timeout, spans, logging, recovery, DI, and value transforms should read as behavior around an existing effect. |
160
+ | `linteffect/prefer-decorated-effect-before-gen` | Two or more decorated `yield* service.pipe(Effect.retry(...))` / `yield* effect.pipe(Effect.withSpan(...))` steps inside one `Effect.gen`. | Generator bodies should tell the workflow story; behavior policy should be named before the workflow. |
161
+ | `linteffect/no-workflow-in-behavior-pipe` | Pipes that mix behavior decorators with multiple workflow sequencing operators or embedded control flow. | `.pipe()` should answer how an effect behaves, not bury multi-step workflow that belongs in `Effect.gen`. |
162
+
163
+ ### Style Separation
164
+
165
+ | Rule | Catches | Why |
166
+ | --- | --- | --- |
167
+ | `linteffect/no-mixed-pillar-function` | Functions that mix three or more style pillars: workflow, pure transformation, behavior decoration, and Layer construction. | Each function should have one obvious style so the domain story, policies, transformations, and wiring stay separately reviewable. |
168
+ | `linteffect/no-clever-effect-expression` | Deep or wrapper-heavy expressions combining multiple style pillars, such as `pipe(Effect.map(Effect.gen(...), flow(...)), ((x) => x))`. | Dense expression towers hide intent and make Effect code harder to debug or refactor. |
169
+ | `linteffect/prefer-extracted-concept` | Multi-statement anonymous callbacks passed into Effect combinators. | Inline callback bodies with several steps usually represent a named transformation, policy, or workflow concept. |
170
+
171
+ ### Service and Layer Architecture
172
+
173
+ | Rule | Catches | Why |
174
+ | --- | --- | --- |
175
+ | `linteffect/prefer-effect-service` | `Context.Tag(...)` and `Context.GenericTag(...)` service definitions. | Modern `Effect.Service` gives services generated accessors, consistent default layers, and clearer dependency ownership. |
176
+ | `linteffect/no-layer-provide-in-service-definition` | `Layer.provide(...)` nested inside an `Effect.Service` options object. | Service definitions should declare implementation and dependencies; layer assembly belongs at application, test, or composition boundaries. |
177
+ | `linteffect/require-service-accessors` | `Effect.Service` classes whose options omit `accessors: true`. | Static accessors keep service APIs consistent and avoid hand-written dependency plumbing. |
178
+ | `linteffect/require-service-dependencies` | `Effect.Service` implementations that `yield* SomeService` without a `dependencies` option. | Service dependency graphs should be declared where the service is defined. |
179
+ | `linteffect/no-namespace-effect-import` | `import * as ... from "effect"` and other Effect package namespace imports. | Direct named imports keep the Effect surface explicit and easier to scan. |
180
+ | `linteffect/no-manual-service-object-export` | Exported `*Service` object literals with function-valued members. | Public service APIs should use `Effect.Service` for accessors, default layers, and dependency ownership. |
181
+ | `linteffect/no-layer-merge-in-request-handler` | `Layer.merge*` or `Layer.provide` inside request/route/handler functions. | Request handlers should run programs, not assemble the application dependency graph. |
182
+ | `linteffect/no-service-method-returning-promise` | Methods returned from `Effect.Service` implementations that return `Promise`. | Service APIs should preserve Effect cancellation, tracing, typed failures, and dependency semantics. |
183
+ | `linteffect/prefer-layer-pipe` | Nested `Layer.provide(...)` call towers. | Layer assembly should read as a left-to-right composition pipeline. |
184
+ | `linteffect/no-inline-layer-provide-in-program` | `Effect.provide(...)` or `Layer.provide(...)` buried inside `Effect.gen` program bodies. | Programs should describe workflow; application layer provisioning belongs at composition boundaries. |
185
+ | `linteffect/prefer-layer-mergeall-for-infrastructure` | Nested `Layer.merge(...)` chains. | Infrastructure groups should use `Layer.mergeAll(...)` so dependency groups stay visible. |
186
+ | `linteffect/no-service-layer-scatter` | Three or more separate `*Layer`/`*Live` constants with inline `Layer.provide` or `Effect.provide`. | Service and infrastructure layers should be grouped by concern instead of scattered one constant at a time. |
187
+
134
188
  ### Concurrency Safety
135
189
 
136
190
  | Rule | Catches | Why |
@@ -145,6 +199,9 @@ boundaries.
145
199
  | `linteffect/no-promise-concurrency-in-effect` | `Promise.all`, `Promise.allSettled`, `Promise.race`, or `Promise.any` inside Effect logic. | Keeps concurrency, interruption, tracing, and typed failures inside Effect. |
146
200
  | `linteffect/no-shared-mutable-state-across-fibers` | Outer `let` / `var` state mutated from `Effect.fork`, `Effect.all`, or `Effect.forEach` work. | Shared mutable state across fibers creates nondeterministic races; use Effect concurrency primitives. |
147
201
  | `linteffect/no-timeout-with-noninterruptible-promise` | `Effect.timeout(Effect.promise(...))` or `Effect.timeout(Effect.tryPromise(...))` without a signal-aware callback. | Timeout should interrupt the underlying async operation, not only the Effect wrapper. |
202
+ | `linteffect/no-uninterruptible-concurrent-region` | `Effect.uninterruptible(...)` wrapping `fork`, `race`, `all`, `forEach`, or queue-taking work. | Broad uninterruptible concurrent regions block cancellation and can strand work during shutdown. |
203
+ | `linteffect/no-unbounded-queue-or-pubsub` | `Queue.unbounded()` and `PubSub.unbounded()`. | Unbounded buffers hide backpressure and can fail under load; capacity should be owned explicitly. |
204
+ | `linteffect/no-global-mutable-concurrency-state` | Module-level mutable state or mutable containers touched from concurrent Effect work. | Global mutable state under concurrency behaves like shared memory; move ownership into Effect primitives or layers. |
148
205
 
149
206
  ### Pipeline Shape and Sequencing
150
207
 
package/dist/index.d.mts CHANGED
@@ -5,22 +5,32 @@ declare const jsPlugins: readonly [{
5
5
  }];
6
6
  declare const reactAndRuntimeBoundariesRules: Record<"linteffect/no-react-state" | "linteffect/no-or-die-outside-boundary" | "linteffect/no-render-side-effects" | "linteffect/no-inline-runtime-provide" | "linteffect/no-runtime-runfork" | "linteffect/no-run-effect-outside-boundary" | "linteffect/prevent-dynamic-imports", "error">;
7
7
  declare const effectCompositionRules: Record<"linteffect/no-effect-never" | "linteffect/no-effect-fn-generator" | "linteffect/no-nested-effect-gen" | "linteffect/no-yield-without-star-in-effect-gen" | "linteffect/no-async-effect-combinator-callback" | "linteffect/no-throw-in-effect-logic" | "linteffect/no-swallowed-catch-all" | "linteffect/no-effect-ignore" | "linteffect/no-try-catch-in-effect-logic" | "linteffect/no-promise-api-in-effect-logic" | "linteffect/no-manual-effect-channels" | "linteffect/no-effect-type-alias" | "linteffect/no-public-generic-effect-error" | "linteffect/no-effect-as" | "linteffect/no-effect-do" | "linteffect/no-effect-bind" | "linteffect/no-effect-async", "error">;
8
- declare const concurrencySafetyRules: Record<"linteffect/no-unbounded-effect-all" | "linteffect/no-fire-and-forget-fork" | "linteffect/no-fork-in-loop" | "linteffect/no-race-without-cleanup" | "linteffect/no-unobserved-fiber" | "linteffect/no-unbounded-concurrent-retry" | "linteffect/no-blocking-call-in-effect" | "linteffect/no-promise-concurrency-in-effect" | "linteffect/no-shared-mutable-state-across-fibers" | "linteffect/no-timeout-with-noninterruptible-promise", "error">;
8
+ declare const concurrencySafetyRules: Record<"linteffect/no-unbounded-effect-all" | "linteffect/no-fire-and-forget-fork" | "linteffect/no-fork-in-loop" | "linteffect/no-race-without-cleanup" | "linteffect/no-unobserved-fiber" | "linteffect/no-unbounded-concurrent-retry" | "linteffect/no-blocking-call-in-effect" | "linteffect/no-promise-concurrency-in-effect" | "linteffect/no-shared-mutable-state-across-fibers" | "linteffect/no-timeout-with-noninterruptible-promise" | "linteffect/no-uninterruptible-concurrent-region" | "linteffect/no-unbounded-queue-or-pubsub" | "linteffect/no-global-mutable-concurrency-state", "error">;
9
9
  declare const pipelineShapeAndSequencingRules: Record<"linteffect/warn-effect-sync-wrapper" | "linteffect/no-effect-side-effect-wrapper" | "linteffect/no-effect-all-step-sequencing" | "linteffect/no-effect-wrapper-alias" | "linteffect/no-effect-succeed-variable" | "linteffect/no-nested-effect-call" | "linteffect/no-effect-ladder" | "linteffect/no-flatmap-ladder" | "linteffect/no-pipe-ladder" | "linteffect/no-call-tower" | "linteffect/no-effect-orElse-ladder", "error">;
10
10
  declare const branchingAndLocalControlFlowRules: Record<"linteffect/no-if-statement" | "linteffect/no-switch-statement" | "linteffect/no-ternary" | "linteffect/no-return-null" | "linteffect/no-arrow-ladder" | "linteffect/no-branch-in-object" | "linteffect/no-iife-wrapper" | "linteffect/no-return-in-arrow" | "linteffect/no-return-in-callback" | "linteffect/no-try-catch", "error">;
11
11
  declare const optionMatchAndDataNormalizationRules: Record<"linteffect/no-option-as" | "linteffect/no-match-void-branch" | "linteffect/no-match-effect-branch" | "linteffect/no-model-overlay-cast" | "linteffect/no-unknown-boolean-coercion-helper" | "linteffect/no-fromnullable-nullish-coalesce" | "linteffect/no-option-boolean-normalization" | "linteffect/no-string-sentinel-return" | "linteffect/no-string-sentinel-const", "error">;
12
12
  declare const atomStateAndPlatformBoundariesRules: Record<"linteffect/no-effect-sync-console" | "linteffect/no-wrapgraphql-catchall" | "linteffect/no-atom-registry-effect-sync" | "linteffect/no-family-collection-read" | "linteffect/no-naked-object-state-update", "error">;
13
13
  declare const domainModelingRules: Record<"linteffect/no-raw-domain-id-alias" | "linteffect/no-boolean-domain-flag" | "linteffect/no-magic-domain-string" | "linteffect/no-raw-domain-primitive-params" | "linteffect/no-raw-time-domain-field" | "linteffect/no-overloaded-options-object" | "linteffect/no-domain-logic-in-conditional" | "linteffect/no-implicit-state-machine-object" | "linteffect/no-adhoc-domain-error" | "linteffect/no-domain-meaning-by-folder-only", "error">;
14
- declare const allRules: Record<"linteffect/no-react-state" | "linteffect/no-if-statement" | "linteffect/no-switch-statement" | "linteffect/no-ternary" | "linteffect/no-return-null" | "linteffect/no-option-as" | "linteffect/no-effect-never" | "linteffect/no-arrow-ladder" | "linteffect/no-branch-in-object" | "linteffect/no-iife-wrapper" | "linteffect/no-return-in-arrow" | "linteffect/no-return-in-callback" | "linteffect/no-effect-fn-generator" | "linteffect/no-effect-sync-console" | "linteffect/no-nested-effect-gen" | "linteffect/no-yield-without-star-in-effect-gen" | "linteffect/no-match-void-branch" | "linteffect/no-match-effect-branch" | "linteffect/warn-effect-sync-wrapper" | "linteffect/no-effect-side-effect-wrapper" | "linteffect/no-effect-all-step-sequencing" | "linteffect/no-async-effect-combinator-callback" | "linteffect/no-throw-in-effect-logic" | "linteffect/no-or-die-outside-boundary" | "linteffect/no-swallowed-catch-all" | "linteffect/no-effect-ignore" | "linteffect/no-try-catch-in-effect-logic" | "linteffect/no-promise-api-in-effect-logic" | "linteffect/no-try-catch" | "linteffect/no-effect-wrapper-alias" | "linteffect/no-manual-effect-channels" | "linteffect/no-wrapgraphql-catchall" | "linteffect/no-render-side-effects" | "linteffect/no-atom-registry-effect-sync" | "linteffect/no-family-collection-read" | "linteffect/no-inline-runtime-provide" | "linteffect/no-naked-object-state-update" | "linteffect/no-effect-succeed-variable" | "linteffect/no-effect-type-alias" | "linteffect/no-public-generic-effect-error" | "linteffect/no-model-overlay-cast" | "linteffect/no-unknown-boolean-coercion-helper" | "linteffect/no-fromnullable-nullish-coalesce" | "linteffect/no-option-boolean-normalization" | "linteffect/no-string-sentinel-return" | "linteffect/no-string-sentinel-const" | "linteffect/no-raw-domain-id-alias" | "linteffect/no-boolean-domain-flag" | "linteffect/no-magic-domain-string" | "linteffect/no-raw-domain-primitive-params" | "linteffect/no-raw-time-domain-field" | "linteffect/no-overloaded-options-object" | "linteffect/no-domain-logic-in-conditional" | "linteffect/no-implicit-state-machine-object" | "linteffect/no-adhoc-domain-error" | "linteffect/no-domain-meaning-by-folder-only" | "linteffect/no-effect-as" | "linteffect/no-effect-do" | "linteffect/no-effect-bind" | "linteffect/no-runtime-runfork" | "linteffect/no-run-effect-outside-boundary" | "linteffect/no-effect-async" | "linteffect/prevent-dynamic-imports" | "linteffect/no-nested-effect-call" | "linteffect/no-effect-ladder" | "linteffect/no-flatmap-ladder" | "linteffect/no-pipe-ladder" | "linteffect/no-call-tower" | "linteffect/no-effect-orElse-ladder" | "linteffect/no-unbounded-effect-all" | "linteffect/no-fire-and-forget-fork" | "linteffect/no-fork-in-loop" | "linteffect/no-race-without-cleanup" | "linteffect/no-unobserved-fiber" | "linteffect/no-unbounded-concurrent-retry" | "linteffect/no-blocking-call-in-effect" | "linteffect/no-promise-concurrency-in-effect" | "linteffect/no-shared-mutable-state-across-fibers" | "linteffect/no-timeout-with-noninterruptible-promise", "error">;
14
+ declare const effectFlowRules: Record<"linteffect/no-piped-yield-in-gen" | "linteffect/no-gen-for-mapping" | "linteffect/prefer-gen-for-workflow", "error">;
15
+ declare const pureTransformationRules: Record<"linteffect/no-large-anonymous-flow" | "linteffect/no-effect-in-flow" | "linteffect/prefer-named-flow", "error">;
16
+ declare const behaviorDecorationRules: Record<"linteffect/prefer-pipe-for-behavior" | "linteffect/prefer-decorated-effect-before-gen" | "linteffect/no-workflow-in-behavior-pipe", "error">;
17
+ declare const styleSeparationRules: Record<"linteffect/no-mixed-pillar-function" | "linteffect/no-clever-effect-expression" | "linteffect/prefer-extracted-concept", "error">;
18
+ declare const serviceAndLayerArchitectureRules: Record<"linteffect/prefer-effect-service" | "linteffect/no-layer-provide-in-service-definition" | "linteffect/require-service-accessors" | "linteffect/require-service-dependencies" | "linteffect/no-namespace-effect-import" | "linteffect/no-manual-service-object-export" | "linteffect/no-layer-merge-in-request-handler" | "linteffect/no-service-method-returning-promise" | "linteffect/prefer-layer-pipe" | "linteffect/no-inline-layer-provide-in-program" | "linteffect/prefer-layer-mergeall-for-infrastructure" | "linteffect/no-service-layer-scatter", "error">;
19
+ declare const allRules: Record<"linteffect/no-react-state" | "linteffect/no-if-statement" | "linteffect/no-switch-statement" | "linteffect/no-ternary" | "linteffect/no-return-null" | "linteffect/no-option-as" | "linteffect/no-effect-never" | "linteffect/no-arrow-ladder" | "linteffect/no-branch-in-object" | "linteffect/no-iife-wrapper" | "linteffect/no-return-in-arrow" | "linteffect/no-return-in-callback" | "linteffect/no-effect-fn-generator" | "linteffect/no-effect-sync-console" | "linteffect/no-nested-effect-gen" | "linteffect/no-yield-without-star-in-effect-gen" | "linteffect/no-piped-yield-in-gen" | "linteffect/no-gen-for-mapping" | "linteffect/prefer-gen-for-workflow" | "linteffect/no-large-anonymous-flow" | "linteffect/no-effect-in-flow" | "linteffect/prefer-named-flow" | "linteffect/prefer-pipe-for-behavior" | "linteffect/prefer-decorated-effect-before-gen" | "linteffect/no-workflow-in-behavior-pipe" | "linteffect/no-mixed-pillar-function" | "linteffect/no-clever-effect-expression" | "linteffect/prefer-extracted-concept" | "linteffect/prefer-effect-service" | "linteffect/no-layer-provide-in-service-definition" | "linteffect/require-service-accessors" | "linteffect/require-service-dependencies" | "linteffect/no-namespace-effect-import" | "linteffect/no-manual-service-object-export" | "linteffect/no-layer-merge-in-request-handler" | "linteffect/no-service-method-returning-promise" | "linteffect/prefer-layer-pipe" | "linteffect/no-inline-layer-provide-in-program" | "linteffect/prefer-layer-mergeall-for-infrastructure" | "linteffect/no-service-layer-scatter" | "linteffect/no-match-void-branch" | "linteffect/no-match-effect-branch" | "linteffect/warn-effect-sync-wrapper" | "linteffect/no-effect-side-effect-wrapper" | "linteffect/no-effect-all-step-sequencing" | "linteffect/no-async-effect-combinator-callback" | "linteffect/no-throw-in-effect-logic" | "linteffect/no-or-die-outside-boundary" | "linteffect/no-swallowed-catch-all" | "linteffect/no-effect-ignore" | "linteffect/no-try-catch-in-effect-logic" | "linteffect/no-promise-api-in-effect-logic" | "linteffect/no-try-catch" | "linteffect/no-effect-wrapper-alias" | "linteffect/no-manual-effect-channels" | "linteffect/no-wrapgraphql-catchall" | "linteffect/no-render-side-effects" | "linteffect/no-atom-registry-effect-sync" | "linteffect/no-family-collection-read" | "linteffect/no-inline-runtime-provide" | "linteffect/no-naked-object-state-update" | "linteffect/no-effect-succeed-variable" | "linteffect/no-effect-type-alias" | "linteffect/no-public-generic-effect-error" | "linteffect/no-model-overlay-cast" | "linteffect/no-unknown-boolean-coercion-helper" | "linteffect/no-fromnullable-nullish-coalesce" | "linteffect/no-option-boolean-normalization" | "linteffect/no-string-sentinel-return" | "linteffect/no-string-sentinel-const" | "linteffect/no-raw-domain-id-alias" | "linteffect/no-boolean-domain-flag" | "linteffect/no-magic-domain-string" | "linteffect/no-raw-domain-primitive-params" | "linteffect/no-raw-time-domain-field" | "linteffect/no-overloaded-options-object" | "linteffect/no-domain-logic-in-conditional" | "linteffect/no-implicit-state-machine-object" | "linteffect/no-adhoc-domain-error" | "linteffect/no-domain-meaning-by-folder-only" | "linteffect/no-effect-as" | "linteffect/no-effect-do" | "linteffect/no-effect-bind" | "linteffect/no-runtime-runfork" | "linteffect/no-run-effect-outside-boundary" | "linteffect/no-effect-async" | "linteffect/prevent-dynamic-imports" | "linteffect/no-nested-effect-call" | "linteffect/no-effect-ladder" | "linteffect/no-flatmap-ladder" | "linteffect/no-pipe-ladder" | "linteffect/no-call-tower" | "linteffect/no-effect-orElse-ladder" | "linteffect/no-unbounded-effect-all" | "linteffect/no-fire-and-forget-fork" | "linteffect/no-fork-in-loop" | "linteffect/no-race-without-cleanup" | "linteffect/no-unobserved-fiber" | "linteffect/no-unbounded-concurrent-retry" | "linteffect/no-blocking-call-in-effect" | "linteffect/no-promise-concurrency-in-effect" | "linteffect/no-shared-mutable-state-across-fibers" | "linteffect/no-timeout-with-noninterruptible-promise" | "linteffect/no-uninterruptible-concurrent-region" | "linteffect/no-unbounded-queue-or-pubsub" | "linteffect/no-global-mutable-concurrency-state", "error">;
15
20
  declare const ruleGroups: {
16
21
  readonly reactAndRuntimeBoundaries: Record<"linteffect/no-react-state" | "linteffect/no-or-die-outside-boundary" | "linteffect/no-render-side-effects" | "linteffect/no-inline-runtime-provide" | "linteffect/no-runtime-runfork" | "linteffect/no-run-effect-outside-boundary" | "linteffect/prevent-dynamic-imports", "error">;
17
22
  readonly effectComposition: Record<"linteffect/no-effect-never" | "linteffect/no-effect-fn-generator" | "linteffect/no-nested-effect-gen" | "linteffect/no-yield-without-star-in-effect-gen" | "linteffect/no-async-effect-combinator-callback" | "linteffect/no-throw-in-effect-logic" | "linteffect/no-swallowed-catch-all" | "linteffect/no-effect-ignore" | "linteffect/no-try-catch-in-effect-logic" | "linteffect/no-promise-api-in-effect-logic" | "linteffect/no-manual-effect-channels" | "linteffect/no-effect-type-alias" | "linteffect/no-public-generic-effect-error" | "linteffect/no-effect-as" | "linteffect/no-effect-do" | "linteffect/no-effect-bind" | "linteffect/no-effect-async", "error">;
18
- readonly concurrencySafety: Record<"linteffect/no-unbounded-effect-all" | "linteffect/no-fire-and-forget-fork" | "linteffect/no-fork-in-loop" | "linteffect/no-race-without-cleanup" | "linteffect/no-unobserved-fiber" | "linteffect/no-unbounded-concurrent-retry" | "linteffect/no-blocking-call-in-effect" | "linteffect/no-promise-concurrency-in-effect" | "linteffect/no-shared-mutable-state-across-fibers" | "linteffect/no-timeout-with-noninterruptible-promise", "error">;
23
+ readonly concurrencySafety: Record<"linteffect/no-unbounded-effect-all" | "linteffect/no-fire-and-forget-fork" | "linteffect/no-fork-in-loop" | "linteffect/no-race-without-cleanup" | "linteffect/no-unobserved-fiber" | "linteffect/no-unbounded-concurrent-retry" | "linteffect/no-blocking-call-in-effect" | "linteffect/no-promise-concurrency-in-effect" | "linteffect/no-shared-mutable-state-across-fibers" | "linteffect/no-timeout-with-noninterruptible-promise" | "linteffect/no-uninterruptible-concurrent-region" | "linteffect/no-unbounded-queue-or-pubsub" | "linteffect/no-global-mutable-concurrency-state", "error">;
19
24
  readonly pipelineShapeAndSequencing: Record<"linteffect/warn-effect-sync-wrapper" | "linteffect/no-effect-side-effect-wrapper" | "linteffect/no-effect-all-step-sequencing" | "linteffect/no-effect-wrapper-alias" | "linteffect/no-effect-succeed-variable" | "linteffect/no-nested-effect-call" | "linteffect/no-effect-ladder" | "linteffect/no-flatmap-ladder" | "linteffect/no-pipe-ladder" | "linteffect/no-call-tower" | "linteffect/no-effect-orElse-ladder", "error">;
20
25
  readonly branchingAndLocalControlFlow: Record<"linteffect/no-if-statement" | "linteffect/no-switch-statement" | "linteffect/no-ternary" | "linteffect/no-return-null" | "linteffect/no-arrow-ladder" | "linteffect/no-branch-in-object" | "linteffect/no-iife-wrapper" | "linteffect/no-return-in-arrow" | "linteffect/no-return-in-callback" | "linteffect/no-try-catch", "error">;
21
26
  readonly optionMatchAndDataNormalization: Record<"linteffect/no-option-as" | "linteffect/no-match-void-branch" | "linteffect/no-match-effect-branch" | "linteffect/no-model-overlay-cast" | "linteffect/no-unknown-boolean-coercion-helper" | "linteffect/no-fromnullable-nullish-coalesce" | "linteffect/no-option-boolean-normalization" | "linteffect/no-string-sentinel-return" | "linteffect/no-string-sentinel-const", "error">;
22
27
  readonly atomStateAndPlatformBoundaries: Record<"linteffect/no-effect-sync-console" | "linteffect/no-wrapgraphql-catchall" | "linteffect/no-atom-registry-effect-sync" | "linteffect/no-family-collection-read" | "linteffect/no-naked-object-state-update", "error">;
23
28
  readonly domainModeling: Record<"linteffect/no-raw-domain-id-alias" | "linteffect/no-boolean-domain-flag" | "linteffect/no-magic-domain-string" | "linteffect/no-raw-domain-primitive-params" | "linteffect/no-raw-time-domain-field" | "linteffect/no-overloaded-options-object" | "linteffect/no-domain-logic-in-conditional" | "linteffect/no-implicit-state-machine-object" | "linteffect/no-adhoc-domain-error" | "linteffect/no-domain-meaning-by-folder-only", "error">;
29
+ readonly effectFlow: Record<"linteffect/no-piped-yield-in-gen" | "linteffect/no-gen-for-mapping" | "linteffect/prefer-gen-for-workflow", "error">;
30
+ readonly pureTransformation: Record<"linteffect/no-large-anonymous-flow" | "linteffect/no-effect-in-flow" | "linteffect/prefer-named-flow", "error">;
31
+ readonly behaviorDecoration: Record<"linteffect/prefer-pipe-for-behavior" | "linteffect/prefer-decorated-effect-before-gen" | "linteffect/no-workflow-in-behavior-pipe", "error">;
32
+ readonly styleSeparation: Record<"linteffect/no-mixed-pillar-function" | "linteffect/no-clever-effect-expression" | "linteffect/prefer-extracted-concept", "error">;
33
+ readonly serviceAndLayerArchitecture: Record<"linteffect/prefer-effect-service" | "linteffect/no-layer-provide-in-service-definition" | "linteffect/require-service-accessors" | "linteffect/require-service-dependencies" | "linteffect/no-namespace-effect-import" | "linteffect/no-manual-service-object-export" | "linteffect/no-layer-merge-in-request-handler" | "linteffect/no-service-method-returning-promise" | "linteffect/prefer-layer-pipe" | "linteffect/no-inline-layer-provide-in-program" | "linteffect/prefer-layer-mergeall-for-infrastructure" | "linteffect/no-service-layer-scatter", "error">;
24
34
  readonly ddd: Record<"linteffect/no-raw-domain-id-alias" | "linteffect/no-boolean-domain-flag" | "linteffect/no-magic-domain-string" | "linteffect/no-raw-domain-primitive-params" | "linteffect/no-raw-time-domain-field" | "linteffect/no-overloaded-options-object" | "linteffect/no-domain-logic-in-conditional" | "linteffect/no-implicit-state-machine-object" | "linteffect/no-adhoc-domain-error" | "linteffect/no-domain-meaning-by-folder-only", "error">;
25
35
  };
26
36
  declare const recommended: {
@@ -28,7 +38,7 @@ declare const recommended: {
28
38
  readonly name: "linteffect";
29
39
  readonly specifier: "@opsydyn/oxlint-effect";
30
40
  }];
31
- readonly rules: Record<"linteffect/no-react-state" | "linteffect/no-if-statement" | "linteffect/no-switch-statement" | "linteffect/no-ternary" | "linteffect/no-return-null" | "linteffect/no-option-as" | "linteffect/no-effect-never" | "linteffect/no-arrow-ladder" | "linteffect/no-branch-in-object" | "linteffect/no-iife-wrapper" | "linteffect/no-return-in-arrow" | "linteffect/no-return-in-callback" | "linteffect/no-effect-fn-generator" | "linteffect/no-effect-sync-console" | "linteffect/no-nested-effect-gen" | "linteffect/no-yield-without-star-in-effect-gen" | "linteffect/no-match-void-branch" | "linteffect/no-match-effect-branch" | "linteffect/warn-effect-sync-wrapper" | "linteffect/no-effect-side-effect-wrapper" | "linteffect/no-effect-all-step-sequencing" | "linteffect/no-async-effect-combinator-callback" | "linteffect/no-throw-in-effect-logic" | "linteffect/no-or-die-outside-boundary" | "linteffect/no-swallowed-catch-all" | "linteffect/no-effect-ignore" | "linteffect/no-try-catch-in-effect-logic" | "linteffect/no-promise-api-in-effect-logic" | "linteffect/no-try-catch" | "linteffect/no-effect-wrapper-alias" | "linteffect/no-manual-effect-channels" | "linteffect/no-wrapgraphql-catchall" | "linteffect/no-render-side-effects" | "linteffect/no-atom-registry-effect-sync" | "linteffect/no-family-collection-read" | "linteffect/no-inline-runtime-provide" | "linteffect/no-naked-object-state-update" | "linteffect/no-effect-succeed-variable" | "linteffect/no-effect-type-alias" | "linteffect/no-public-generic-effect-error" | "linteffect/no-model-overlay-cast" | "linteffect/no-unknown-boolean-coercion-helper" | "linteffect/no-fromnullable-nullish-coalesce" | "linteffect/no-option-boolean-normalization" | "linteffect/no-string-sentinel-return" | "linteffect/no-string-sentinel-const" | "linteffect/no-raw-domain-id-alias" | "linteffect/no-boolean-domain-flag" | "linteffect/no-magic-domain-string" | "linteffect/no-raw-domain-primitive-params" | "linteffect/no-raw-time-domain-field" | "linteffect/no-overloaded-options-object" | "linteffect/no-domain-logic-in-conditional" | "linteffect/no-implicit-state-machine-object" | "linteffect/no-adhoc-domain-error" | "linteffect/no-domain-meaning-by-folder-only" | "linteffect/no-effect-as" | "linteffect/no-effect-do" | "linteffect/no-effect-bind" | "linteffect/no-runtime-runfork" | "linteffect/no-run-effect-outside-boundary" | "linteffect/no-effect-async" | "linteffect/prevent-dynamic-imports" | "linteffect/no-nested-effect-call" | "linteffect/no-effect-ladder" | "linteffect/no-flatmap-ladder" | "linteffect/no-pipe-ladder" | "linteffect/no-call-tower" | "linteffect/no-effect-orElse-ladder" | "linteffect/no-unbounded-effect-all" | "linteffect/no-fire-and-forget-fork" | "linteffect/no-fork-in-loop" | "linteffect/no-race-without-cleanup" | "linteffect/no-unobserved-fiber" | "linteffect/no-unbounded-concurrent-retry" | "linteffect/no-blocking-call-in-effect" | "linteffect/no-promise-concurrency-in-effect" | "linteffect/no-shared-mutable-state-across-fibers" | "linteffect/no-timeout-with-noninterruptible-promise", "error">;
41
+ readonly rules: Record<"linteffect/no-react-state" | "linteffect/no-if-statement" | "linteffect/no-switch-statement" | "linteffect/no-ternary" | "linteffect/no-return-null" | "linteffect/no-option-as" | "linteffect/no-effect-never" | "linteffect/no-arrow-ladder" | "linteffect/no-branch-in-object" | "linteffect/no-iife-wrapper" | "linteffect/no-return-in-arrow" | "linteffect/no-return-in-callback" | "linteffect/no-effect-fn-generator" | "linteffect/no-effect-sync-console" | "linteffect/no-nested-effect-gen" | "linteffect/no-yield-without-star-in-effect-gen" | "linteffect/no-piped-yield-in-gen" | "linteffect/no-gen-for-mapping" | "linteffect/prefer-gen-for-workflow" | "linteffect/no-large-anonymous-flow" | "linteffect/no-effect-in-flow" | "linteffect/prefer-named-flow" | "linteffect/prefer-pipe-for-behavior" | "linteffect/prefer-decorated-effect-before-gen" | "linteffect/no-workflow-in-behavior-pipe" | "linteffect/no-mixed-pillar-function" | "linteffect/no-clever-effect-expression" | "linteffect/prefer-extracted-concept" | "linteffect/prefer-effect-service" | "linteffect/no-layer-provide-in-service-definition" | "linteffect/require-service-accessors" | "linteffect/require-service-dependencies" | "linteffect/no-namespace-effect-import" | "linteffect/no-manual-service-object-export" | "linteffect/no-layer-merge-in-request-handler" | "linteffect/no-service-method-returning-promise" | "linteffect/prefer-layer-pipe" | "linteffect/no-inline-layer-provide-in-program" | "linteffect/prefer-layer-mergeall-for-infrastructure" | "linteffect/no-service-layer-scatter" | "linteffect/no-match-void-branch" | "linteffect/no-match-effect-branch" | "linteffect/warn-effect-sync-wrapper" | "linteffect/no-effect-side-effect-wrapper" | "linteffect/no-effect-all-step-sequencing" | "linteffect/no-async-effect-combinator-callback" | "linteffect/no-throw-in-effect-logic" | "linteffect/no-or-die-outside-boundary" | "linteffect/no-swallowed-catch-all" | "linteffect/no-effect-ignore" | "linteffect/no-try-catch-in-effect-logic" | "linteffect/no-promise-api-in-effect-logic" | "linteffect/no-try-catch" | "linteffect/no-effect-wrapper-alias" | "linteffect/no-manual-effect-channels" | "linteffect/no-wrapgraphql-catchall" | "linteffect/no-render-side-effects" | "linteffect/no-atom-registry-effect-sync" | "linteffect/no-family-collection-read" | "linteffect/no-inline-runtime-provide" | "linteffect/no-naked-object-state-update" | "linteffect/no-effect-succeed-variable" | "linteffect/no-effect-type-alias" | "linteffect/no-public-generic-effect-error" | "linteffect/no-model-overlay-cast" | "linteffect/no-unknown-boolean-coercion-helper" | "linteffect/no-fromnullable-nullish-coalesce" | "linteffect/no-option-boolean-normalization" | "linteffect/no-string-sentinel-return" | "linteffect/no-string-sentinel-const" | "linteffect/no-raw-domain-id-alias" | "linteffect/no-boolean-domain-flag" | "linteffect/no-magic-domain-string" | "linteffect/no-raw-domain-primitive-params" | "linteffect/no-raw-time-domain-field" | "linteffect/no-overloaded-options-object" | "linteffect/no-domain-logic-in-conditional" | "linteffect/no-implicit-state-machine-object" | "linteffect/no-adhoc-domain-error" | "linteffect/no-domain-meaning-by-folder-only" | "linteffect/no-effect-as" | "linteffect/no-effect-do" | "linteffect/no-effect-bind" | "linteffect/no-runtime-runfork" | "linteffect/no-run-effect-outside-boundary" | "linteffect/no-effect-async" | "linteffect/prevent-dynamic-imports" | "linteffect/no-nested-effect-call" | "linteffect/no-effect-ladder" | "linteffect/no-flatmap-ladder" | "linteffect/no-pipe-ladder" | "linteffect/no-call-tower" | "linteffect/no-effect-orElse-ladder" | "linteffect/no-unbounded-effect-all" | "linteffect/no-fire-and-forget-fork" | "linteffect/no-fork-in-loop" | "linteffect/no-race-without-cleanup" | "linteffect/no-unobserved-fiber" | "linteffect/no-unbounded-concurrent-retry" | "linteffect/no-blocking-call-in-effect" | "linteffect/no-promise-concurrency-in-effect" | "linteffect/no-shared-mutable-state-across-fibers" | "linteffect/no-timeout-with-noninterruptible-promise" | "linteffect/no-uninterruptible-concurrent-region" | "linteffect/no-unbounded-queue-or-pubsub" | "linteffect/no-global-mutable-concurrency-state", "error">;
32
42
  };
33
43
  declare const reactAndRuntimeBoundaries: {
34
44
  readonly jsPlugins: readonly [{
@@ -49,7 +59,7 @@ declare const concurrencySafety: {
49
59
  readonly name: "linteffect";
50
60
  readonly specifier: "@opsydyn/oxlint-effect";
51
61
  }];
52
- readonly rules: Record<"linteffect/no-unbounded-effect-all" | "linteffect/no-fire-and-forget-fork" | "linteffect/no-fork-in-loop" | "linteffect/no-race-without-cleanup" | "linteffect/no-unobserved-fiber" | "linteffect/no-unbounded-concurrent-retry" | "linteffect/no-blocking-call-in-effect" | "linteffect/no-promise-concurrency-in-effect" | "linteffect/no-shared-mutable-state-across-fibers" | "linteffect/no-timeout-with-noninterruptible-promise", "error">;
62
+ readonly rules: Record<"linteffect/no-unbounded-effect-all" | "linteffect/no-fire-and-forget-fork" | "linteffect/no-fork-in-loop" | "linteffect/no-race-without-cleanup" | "linteffect/no-unobserved-fiber" | "linteffect/no-unbounded-concurrent-retry" | "linteffect/no-blocking-call-in-effect" | "linteffect/no-promise-concurrency-in-effect" | "linteffect/no-shared-mutable-state-across-fibers" | "linteffect/no-timeout-with-noninterruptible-promise" | "linteffect/no-uninterruptible-concurrent-region" | "linteffect/no-unbounded-queue-or-pubsub" | "linteffect/no-global-mutable-concurrency-state", "error">;
53
63
  };
54
64
  declare const pipelineShapeAndSequencing: {
55
65
  readonly jsPlugins: readonly [{
@@ -93,13 +103,48 @@ declare const ddd: {
93
103
  }];
94
104
  readonly rules: Record<"linteffect/no-raw-domain-id-alias" | "linteffect/no-boolean-domain-flag" | "linteffect/no-magic-domain-string" | "linteffect/no-raw-domain-primitive-params" | "linteffect/no-raw-time-domain-field" | "linteffect/no-overloaded-options-object" | "linteffect/no-domain-logic-in-conditional" | "linteffect/no-implicit-state-machine-object" | "linteffect/no-adhoc-domain-error" | "linteffect/no-domain-meaning-by-folder-only", "error">;
95
105
  };
106
+ declare const effectFlow: {
107
+ readonly jsPlugins: readonly [{
108
+ readonly name: "linteffect";
109
+ readonly specifier: "@opsydyn/oxlint-effect";
110
+ }];
111
+ readonly rules: Record<"linteffect/no-piped-yield-in-gen" | "linteffect/no-gen-for-mapping" | "linteffect/prefer-gen-for-workflow", "error">;
112
+ };
113
+ declare const pureTransformation: {
114
+ readonly jsPlugins: readonly [{
115
+ readonly name: "linteffect";
116
+ readonly specifier: "@opsydyn/oxlint-effect";
117
+ }];
118
+ readonly rules: Record<"linteffect/no-large-anonymous-flow" | "linteffect/no-effect-in-flow" | "linteffect/prefer-named-flow", "error">;
119
+ };
120
+ declare const behaviorDecoration: {
121
+ readonly jsPlugins: readonly [{
122
+ readonly name: "linteffect";
123
+ readonly specifier: "@opsydyn/oxlint-effect";
124
+ }];
125
+ readonly rules: Record<"linteffect/prefer-pipe-for-behavior" | "linteffect/prefer-decorated-effect-before-gen" | "linteffect/no-workflow-in-behavior-pipe", "error">;
126
+ };
127
+ declare const styleSeparation: {
128
+ readonly jsPlugins: readonly [{
129
+ readonly name: "linteffect";
130
+ readonly specifier: "@opsydyn/oxlint-effect";
131
+ }];
132
+ readonly rules: Record<"linteffect/no-mixed-pillar-function" | "linteffect/no-clever-effect-expression" | "linteffect/prefer-extracted-concept", "error">;
133
+ };
134
+ declare const serviceAndLayerArchitecture: {
135
+ readonly jsPlugins: readonly [{
136
+ readonly name: "linteffect";
137
+ readonly specifier: "@opsydyn/oxlint-effect";
138
+ }];
139
+ readonly rules: Record<"linteffect/prefer-effect-service" | "linteffect/no-layer-provide-in-service-definition" | "linteffect/require-service-accessors" | "linteffect/require-service-dependencies" | "linteffect/no-namespace-effect-import" | "linteffect/no-manual-service-object-export" | "linteffect/no-layer-merge-in-request-handler" | "linteffect/no-service-method-returning-promise" | "linteffect/prefer-layer-pipe" | "linteffect/no-inline-layer-provide-in-program" | "linteffect/prefer-layer-mergeall-for-infrastructure" | "linteffect/no-service-layer-scatter", "error">;
140
+ };
96
141
  declare const presets: {
97
142
  readonly recommended: {
98
143
  readonly jsPlugins: readonly [{
99
144
  readonly name: "linteffect";
100
145
  readonly specifier: "@opsydyn/oxlint-effect";
101
146
  }];
102
- readonly rules: Record<"linteffect/no-react-state" | "linteffect/no-if-statement" | "linteffect/no-switch-statement" | "linteffect/no-ternary" | "linteffect/no-return-null" | "linteffect/no-option-as" | "linteffect/no-effect-never" | "linteffect/no-arrow-ladder" | "linteffect/no-branch-in-object" | "linteffect/no-iife-wrapper" | "linteffect/no-return-in-arrow" | "linteffect/no-return-in-callback" | "linteffect/no-effect-fn-generator" | "linteffect/no-effect-sync-console" | "linteffect/no-nested-effect-gen" | "linteffect/no-yield-without-star-in-effect-gen" | "linteffect/no-match-void-branch" | "linteffect/no-match-effect-branch" | "linteffect/warn-effect-sync-wrapper" | "linteffect/no-effect-side-effect-wrapper" | "linteffect/no-effect-all-step-sequencing" | "linteffect/no-async-effect-combinator-callback" | "linteffect/no-throw-in-effect-logic" | "linteffect/no-or-die-outside-boundary" | "linteffect/no-swallowed-catch-all" | "linteffect/no-effect-ignore" | "linteffect/no-try-catch-in-effect-logic" | "linteffect/no-promise-api-in-effect-logic" | "linteffect/no-try-catch" | "linteffect/no-effect-wrapper-alias" | "linteffect/no-manual-effect-channels" | "linteffect/no-wrapgraphql-catchall" | "linteffect/no-render-side-effects" | "linteffect/no-atom-registry-effect-sync" | "linteffect/no-family-collection-read" | "linteffect/no-inline-runtime-provide" | "linteffect/no-naked-object-state-update" | "linteffect/no-effect-succeed-variable" | "linteffect/no-effect-type-alias" | "linteffect/no-public-generic-effect-error" | "linteffect/no-model-overlay-cast" | "linteffect/no-unknown-boolean-coercion-helper" | "linteffect/no-fromnullable-nullish-coalesce" | "linteffect/no-option-boolean-normalization" | "linteffect/no-string-sentinel-return" | "linteffect/no-string-sentinel-const" | "linteffect/no-raw-domain-id-alias" | "linteffect/no-boolean-domain-flag" | "linteffect/no-magic-domain-string" | "linteffect/no-raw-domain-primitive-params" | "linteffect/no-raw-time-domain-field" | "linteffect/no-overloaded-options-object" | "linteffect/no-domain-logic-in-conditional" | "linteffect/no-implicit-state-machine-object" | "linteffect/no-adhoc-domain-error" | "linteffect/no-domain-meaning-by-folder-only" | "linteffect/no-effect-as" | "linteffect/no-effect-do" | "linteffect/no-effect-bind" | "linteffect/no-runtime-runfork" | "linteffect/no-run-effect-outside-boundary" | "linteffect/no-effect-async" | "linteffect/prevent-dynamic-imports" | "linteffect/no-nested-effect-call" | "linteffect/no-effect-ladder" | "linteffect/no-flatmap-ladder" | "linteffect/no-pipe-ladder" | "linteffect/no-call-tower" | "linteffect/no-effect-orElse-ladder" | "linteffect/no-unbounded-effect-all" | "linteffect/no-fire-and-forget-fork" | "linteffect/no-fork-in-loop" | "linteffect/no-race-without-cleanup" | "linteffect/no-unobserved-fiber" | "linteffect/no-unbounded-concurrent-retry" | "linteffect/no-blocking-call-in-effect" | "linteffect/no-promise-concurrency-in-effect" | "linteffect/no-shared-mutable-state-across-fibers" | "linteffect/no-timeout-with-noninterruptible-promise", "error">;
147
+ readonly rules: Record<"linteffect/no-react-state" | "linteffect/no-if-statement" | "linteffect/no-switch-statement" | "linteffect/no-ternary" | "linteffect/no-return-null" | "linteffect/no-option-as" | "linteffect/no-effect-never" | "linteffect/no-arrow-ladder" | "linteffect/no-branch-in-object" | "linteffect/no-iife-wrapper" | "linteffect/no-return-in-arrow" | "linteffect/no-return-in-callback" | "linteffect/no-effect-fn-generator" | "linteffect/no-effect-sync-console" | "linteffect/no-nested-effect-gen" | "linteffect/no-yield-without-star-in-effect-gen" | "linteffect/no-piped-yield-in-gen" | "linteffect/no-gen-for-mapping" | "linteffect/prefer-gen-for-workflow" | "linteffect/no-large-anonymous-flow" | "linteffect/no-effect-in-flow" | "linteffect/prefer-named-flow" | "linteffect/prefer-pipe-for-behavior" | "linteffect/prefer-decorated-effect-before-gen" | "linteffect/no-workflow-in-behavior-pipe" | "linteffect/no-mixed-pillar-function" | "linteffect/no-clever-effect-expression" | "linteffect/prefer-extracted-concept" | "linteffect/prefer-effect-service" | "linteffect/no-layer-provide-in-service-definition" | "linteffect/require-service-accessors" | "linteffect/require-service-dependencies" | "linteffect/no-namespace-effect-import" | "linteffect/no-manual-service-object-export" | "linteffect/no-layer-merge-in-request-handler" | "linteffect/no-service-method-returning-promise" | "linteffect/prefer-layer-pipe" | "linteffect/no-inline-layer-provide-in-program" | "linteffect/prefer-layer-mergeall-for-infrastructure" | "linteffect/no-service-layer-scatter" | "linteffect/no-match-void-branch" | "linteffect/no-match-effect-branch" | "linteffect/warn-effect-sync-wrapper" | "linteffect/no-effect-side-effect-wrapper" | "linteffect/no-effect-all-step-sequencing" | "linteffect/no-async-effect-combinator-callback" | "linteffect/no-throw-in-effect-logic" | "linteffect/no-or-die-outside-boundary" | "linteffect/no-swallowed-catch-all" | "linteffect/no-effect-ignore" | "linteffect/no-try-catch-in-effect-logic" | "linteffect/no-promise-api-in-effect-logic" | "linteffect/no-try-catch" | "linteffect/no-effect-wrapper-alias" | "linteffect/no-manual-effect-channels" | "linteffect/no-wrapgraphql-catchall" | "linteffect/no-render-side-effects" | "linteffect/no-atom-registry-effect-sync" | "linteffect/no-family-collection-read" | "linteffect/no-inline-runtime-provide" | "linteffect/no-naked-object-state-update" | "linteffect/no-effect-succeed-variable" | "linteffect/no-effect-type-alias" | "linteffect/no-public-generic-effect-error" | "linteffect/no-model-overlay-cast" | "linteffect/no-unknown-boolean-coercion-helper" | "linteffect/no-fromnullable-nullish-coalesce" | "linteffect/no-option-boolean-normalization" | "linteffect/no-string-sentinel-return" | "linteffect/no-string-sentinel-const" | "linteffect/no-raw-domain-id-alias" | "linteffect/no-boolean-domain-flag" | "linteffect/no-magic-domain-string" | "linteffect/no-raw-domain-primitive-params" | "linteffect/no-raw-time-domain-field" | "linteffect/no-overloaded-options-object" | "linteffect/no-domain-logic-in-conditional" | "linteffect/no-implicit-state-machine-object" | "linteffect/no-adhoc-domain-error" | "linteffect/no-domain-meaning-by-folder-only" | "linteffect/no-effect-as" | "linteffect/no-effect-do" | "linteffect/no-effect-bind" | "linteffect/no-runtime-runfork" | "linteffect/no-run-effect-outside-boundary" | "linteffect/no-effect-async" | "linteffect/prevent-dynamic-imports" | "linteffect/no-nested-effect-call" | "linteffect/no-effect-ladder" | "linteffect/no-flatmap-ladder" | "linteffect/no-pipe-ladder" | "linteffect/no-call-tower" | "linteffect/no-effect-orElse-ladder" | "linteffect/no-unbounded-effect-all" | "linteffect/no-fire-and-forget-fork" | "linteffect/no-fork-in-loop" | "linteffect/no-race-without-cleanup" | "linteffect/no-unobserved-fiber" | "linteffect/no-unbounded-concurrent-retry" | "linteffect/no-blocking-call-in-effect" | "linteffect/no-promise-concurrency-in-effect" | "linteffect/no-shared-mutable-state-across-fibers" | "linteffect/no-timeout-with-noninterruptible-promise" | "linteffect/no-uninterruptible-concurrent-region" | "linteffect/no-unbounded-queue-or-pubsub" | "linteffect/no-global-mutable-concurrency-state", "error">;
103
148
  };
104
149
  readonly reactAndRuntimeBoundaries: {
105
150
  readonly jsPlugins: readonly [{
@@ -120,7 +165,7 @@ declare const presets: {
120
165
  readonly name: "linteffect";
121
166
  readonly specifier: "@opsydyn/oxlint-effect";
122
167
  }];
123
- readonly rules: Record<"linteffect/no-unbounded-effect-all" | "linteffect/no-fire-and-forget-fork" | "linteffect/no-fork-in-loop" | "linteffect/no-race-without-cleanup" | "linteffect/no-unobserved-fiber" | "linteffect/no-unbounded-concurrent-retry" | "linteffect/no-blocking-call-in-effect" | "linteffect/no-promise-concurrency-in-effect" | "linteffect/no-shared-mutable-state-across-fibers" | "linteffect/no-timeout-with-noninterruptible-promise", "error">;
168
+ readonly rules: Record<"linteffect/no-unbounded-effect-all" | "linteffect/no-fire-and-forget-fork" | "linteffect/no-fork-in-loop" | "linteffect/no-race-without-cleanup" | "linteffect/no-unobserved-fiber" | "linteffect/no-unbounded-concurrent-retry" | "linteffect/no-blocking-call-in-effect" | "linteffect/no-promise-concurrency-in-effect" | "linteffect/no-shared-mutable-state-across-fibers" | "linteffect/no-timeout-with-noninterruptible-promise" | "linteffect/no-uninterruptible-concurrent-region" | "linteffect/no-unbounded-queue-or-pubsub" | "linteffect/no-global-mutable-concurrency-state", "error">;
124
169
  };
125
170
  readonly pipelineShapeAndSequencing: {
126
171
  readonly jsPlugins: readonly [{
@@ -164,8 +209,43 @@ declare const presets: {
164
209
  }];
165
210
  readonly rules: Record<"linteffect/no-raw-domain-id-alias" | "linteffect/no-boolean-domain-flag" | "linteffect/no-magic-domain-string" | "linteffect/no-raw-domain-primitive-params" | "linteffect/no-raw-time-domain-field" | "linteffect/no-overloaded-options-object" | "linteffect/no-domain-logic-in-conditional" | "linteffect/no-implicit-state-machine-object" | "linteffect/no-adhoc-domain-error" | "linteffect/no-domain-meaning-by-folder-only", "error">;
166
211
  };
212
+ readonly effectFlow: {
213
+ readonly jsPlugins: readonly [{
214
+ readonly name: "linteffect";
215
+ readonly specifier: "@opsydyn/oxlint-effect";
216
+ }];
217
+ readonly rules: Record<"linteffect/no-piped-yield-in-gen" | "linteffect/no-gen-for-mapping" | "linteffect/prefer-gen-for-workflow", "error">;
218
+ };
219
+ readonly pureTransformation: {
220
+ readonly jsPlugins: readonly [{
221
+ readonly name: "linteffect";
222
+ readonly specifier: "@opsydyn/oxlint-effect";
223
+ }];
224
+ readonly rules: Record<"linteffect/no-large-anonymous-flow" | "linteffect/no-effect-in-flow" | "linteffect/prefer-named-flow", "error">;
225
+ };
226
+ readonly behaviorDecoration: {
227
+ readonly jsPlugins: readonly [{
228
+ readonly name: "linteffect";
229
+ readonly specifier: "@opsydyn/oxlint-effect";
230
+ }];
231
+ readonly rules: Record<"linteffect/prefer-pipe-for-behavior" | "linteffect/prefer-decorated-effect-before-gen" | "linteffect/no-workflow-in-behavior-pipe", "error">;
232
+ };
233
+ readonly styleSeparation: {
234
+ readonly jsPlugins: readonly [{
235
+ readonly name: "linteffect";
236
+ readonly specifier: "@opsydyn/oxlint-effect";
237
+ }];
238
+ readonly rules: Record<"linteffect/no-mixed-pillar-function" | "linteffect/no-clever-effect-expression" | "linteffect/prefer-extracted-concept", "error">;
239
+ };
240
+ readonly serviceAndLayerArchitecture: {
241
+ readonly jsPlugins: readonly [{
242
+ readonly name: "linteffect";
243
+ readonly specifier: "@opsydyn/oxlint-effect";
244
+ }];
245
+ readonly rules: Record<"linteffect/prefer-effect-service" | "linteffect/no-layer-provide-in-service-definition" | "linteffect/require-service-accessors" | "linteffect/require-service-dependencies" | "linteffect/no-namespace-effect-import" | "linteffect/no-manual-service-object-export" | "linteffect/no-layer-merge-in-request-handler" | "linteffect/no-service-method-returning-promise" | "linteffect/prefer-layer-pipe" | "linteffect/no-inline-layer-provide-in-program" | "linteffect/prefer-layer-mergeall-for-infrastructure" | "linteffect/no-service-layer-scatter", "error">;
246
+ };
167
247
  };
168
248
  declare const _default: import("@oxlint/plugins").Plugin;
169
249
  //#endregion
170
- export { allRules, atomStateAndPlatformBoundaries, atomStateAndPlatformBoundariesRules, branchingAndLocalControlFlow, branchingAndLocalControlFlowRules, concurrencySafety, concurrencySafetyRules, ddd, _default as default, domainModeling, domainModelingRules, effectComposition, effectCompositionRules, jsPlugins, optionMatchAndDataNormalization, optionMatchAndDataNormalizationRules, pipelineShapeAndSequencing, pipelineShapeAndSequencingRules, presets, reactAndRuntimeBoundaries, reactAndRuntimeBoundariesRules, recommended, ruleGroups };
250
+ export { allRules, atomStateAndPlatformBoundaries, atomStateAndPlatformBoundariesRules, behaviorDecoration, behaviorDecorationRules, branchingAndLocalControlFlow, branchingAndLocalControlFlowRules, concurrencySafety, concurrencySafetyRules, ddd, _default as default, domainModeling, domainModelingRules, effectComposition, effectCompositionRules, effectFlow, effectFlowRules, jsPlugins, optionMatchAndDataNormalization, optionMatchAndDataNormalizationRules, pipelineShapeAndSequencing, pipelineShapeAndSequencingRules, presets, pureTransformation, pureTransformationRules, reactAndRuntimeBoundaries, reactAndRuntimeBoundariesRules, recommended, ruleGroups, serviceAndLayerArchitecture, serviceAndLayerArchitectureRules, styleSeparation, styleSeparationRules };
171
251
  //# sourceMappingURL=index.d.mts.map