@opsydyn/oxlint-effect 0.10.0 → 1.1.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 +85 -9
- package/dist/index.d.mts +45 -21
- package/dist/index.mjs +1 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +6 -3
package/README.md
CHANGED
|
@@ -25,10 +25,73 @@ export default defineConfig({
|
|
|
25
25
|
the mutable array shape expected by Oxlint's `ExternalPluginEntry[]` config
|
|
26
26
|
type.
|
|
27
27
|
|
|
28
|
+
### Configure Type-Aware Linting
|
|
29
|
+
|
|
30
|
+
`typeAware` is an opt-in configuration bridge to [Oxc's type-aware
|
|
31
|
+
linting](https://oxc.rs/docs/guide/usage/linter/type-aware.html). It preserves
|
|
32
|
+
the package's recommended syntax-only `linteffect/*` rules and enables Oxc's
|
|
33
|
+
type-aware engine, but it does not select any `typescript/*` rules or enable
|
|
34
|
+
`typeCheck` compiler diagnostics.
|
|
35
|
+
|
|
36
|
+
Install the type-aware engine in the consuming project:
|
|
37
|
+
|
|
38
|
+
```bash
|
|
39
|
+
bun add -d oxlint oxlint-tsgolint @opsydyn/oxlint-effect
|
|
40
|
+
```
|
|
41
|
+
|
|
42
|
+
The current engine requires TypeScript 7. Keep `oxlint`, `oxlint-tsgolint`,
|
|
43
|
+
TypeScript, and the consumer's project configuration compatible. In a
|
|
44
|
+
monorepo, build dependent packages so their declarations can be resolved
|
|
45
|
+
before type-aware linting runs.
|
|
46
|
+
|
|
47
|
+
```ts
|
|
48
|
+
import { defineConfig } from "oxlint";
|
|
49
|
+
import { typeAware } from "@opsydyn/oxlint-effect";
|
|
50
|
+
|
|
51
|
+
export default defineConfig({
|
|
52
|
+
options: typeAware.options,
|
|
53
|
+
jsPlugins: [...typeAware.jsPlugins],
|
|
54
|
+
plugins: ["typescript", "unicorn", "oxc"],
|
|
55
|
+
rules: {
|
|
56
|
+
...typeAware.rules,
|
|
57
|
+
"typescript/no-floating-promises": "error",
|
|
58
|
+
"typescript/no-misused-promises": "error",
|
|
59
|
+
},
|
|
60
|
+
});
|
|
61
|
+
```
|
|
62
|
+
|
|
63
|
+
`options.typeAware` must be at the root of the resolved Oxlint configuration;
|
|
64
|
+
do not place it in an override or nested configuration object. The package
|
|
65
|
+
uses only that option. The two `typescript/*` entries above are selected by the
|
|
66
|
+
consumer; `typeAware.rules` itself does not include them. Consumers may also
|
|
67
|
+
separately opt into compiler diagnostics:
|
|
68
|
+
|
|
69
|
+
```bash
|
|
70
|
+
oxlint --type-aware
|
|
71
|
+
```
|
|
72
|
+
|
|
73
|
+
```ts
|
|
74
|
+
export default defineConfig({
|
|
75
|
+
options: {
|
|
76
|
+
typeAware: true,
|
|
77
|
+
typeCheck: true,
|
|
78
|
+
},
|
|
79
|
+
});
|
|
80
|
+
```
|
|
81
|
+
|
|
82
|
+
The CLI enables the same type-aware engine without this package preset. The
|
|
83
|
+
second configuration is consumer-owned and is not part of `typeAware`.
|
|
84
|
+
|
|
85
|
+
The package's custom Effect rules remain syntax-only. Oxc's [JavaScript plugin
|
|
86
|
+
API](https://oxc.rs/docs/guide/usage/linter/js-plugins.html) does not support
|
|
87
|
+
custom type-aware rules, so semantic Effect rules remain deferred until Oxc
|
|
88
|
+
provides supported typed-plugin access.
|
|
89
|
+
|
|
28
90
|
### Configure One Rule Group
|
|
29
91
|
|
|
30
|
-
Every
|
|
31
|
-
shape as `recommended
|
|
92
|
+
Every named preset in the following table is exported as a config-shaped preset
|
|
93
|
+
with the same shape as `recommended`; use the same mutable-array workaround
|
|
94
|
+
for each one. For example, the `ddd` preset combines Domain Modeling and Error
|
|
32
95
|
Modeling rules:
|
|
33
96
|
|
|
34
97
|
```ts
|
|
@@ -66,25 +129,26 @@ Named group presets:
|
|
|
66
129
|
| `testingObservabilityAndQa` | Testing, Observability, and QA |
|
|
67
130
|
|
|
68
131
|
Each preset also has a rule-only export with a `Rules` suffix. Use those when
|
|
69
|
-
you want to compose multiple groups
|
|
132
|
+
you want to compose multiple groups. `typeAware` is the only new mode in this
|
|
133
|
+
slice; compose it with rule-only exports when a type-aware configuration needs
|
|
134
|
+
additional Effect policy:
|
|
70
135
|
|
|
71
136
|
```ts
|
|
72
137
|
import { defineConfig } from "oxlint";
|
|
73
138
|
import {
|
|
74
|
-
|
|
139
|
+
typeAware,
|
|
75
140
|
domainModelingRules,
|
|
76
141
|
errorModelingRules,
|
|
77
|
-
effectCompositionRules,
|
|
78
142
|
} from "@opsydyn/oxlint-effect";
|
|
79
143
|
|
|
80
144
|
export default defineConfig({
|
|
81
|
-
|
|
82
|
-
jsPlugins: [...
|
|
145
|
+
options: typeAware.options,
|
|
146
|
+
jsPlugins: [...typeAware.jsPlugins],
|
|
147
|
+
plugins: ["typescript", "unicorn", "oxc"],
|
|
83
148
|
rules: {
|
|
84
|
-
...
|
|
149
|
+
...typeAware.rules,
|
|
85
150
|
...domainModelingRules,
|
|
86
151
|
...errorModelingRules,
|
|
87
|
-
...effectCompositionRules,
|
|
88
152
|
},
|
|
89
153
|
});
|
|
90
154
|
```
|
|
@@ -150,6 +214,7 @@ Effect flow, domain meaning, or runtime boundaries.
|
|
|
150
214
|
| `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. |
|
|
151
215
|
| `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. |
|
|
152
216
|
| `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. |
|
|
217
|
+
| `linteffect/no-business-logic-in-pipe` | Strict: `.pipe(Effect.flatMap(...))` callbacks with branching, service retrieval, or multiple Effect steps. | Keeps workflow decisions in `Effect.gen` and reserves `pipe` for behavior around a completed effect. |
|
|
153
218
|
|
|
154
219
|
### Pure Transformation
|
|
155
220
|
|
|
@@ -158,6 +223,7 @@ Effect flow, domain meaning, or runtime boundaries.
|
|
|
158
223
|
| `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. |
|
|
159
224
|
| `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. |
|
|
160
225
|
| `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. |
|
|
226
|
+
| `linteffect/prefer-flow-for-pure-pipeline` | Strict: pure nested call towers three calls deep or more. | Names a reusable transformation pipeline instead of burying data flow in nested calls. |
|
|
161
227
|
|
|
162
228
|
### Behavior Decoration
|
|
163
229
|
|
|
@@ -307,6 +373,15 @@ support the same `boundaryPaths` option as the other lifecycle rules.
|
|
|
307
373
|
| `linteffect/no-manual-resource-close` | Resource-like `.close()`, `.destroy()`, `.dispose()`, or `.cleanup()` calls outside release or finalizer callbacks. | Keeps cleanup owned by Effect scopes instead of ad hoc imperative code. |
|
|
308
374
|
| `linteffect/no-unbound-scope` | `Scope.make()` without `Effect.scoped`, `Layer.scoped`, explicit `Scope.close`, or a matching acquire/release callback. | Prevents scopes and their finalizers from being leaked. |
|
|
309
375
|
| `linteffect/no-resource-succeed-escape` | `Effect.succeed(resourceLike)` for client, connection, pool, file, socket, stream, server, subscription, or handle-shaped values. | Keeps live resource lifetimes inside scoped Effect ownership; this heuristic is focused-only rather than recommended. |
|
|
376
|
+
| `linteffect/no-resource-without-acquire-release` | Runtime: resource-like `open` / `connect` / `create` / `start` / `listen` / `subscribe` / `acquire` calls without a release owner. | Makes resource ownership explicit across failure, interruption, and shutdown. |
|
|
377
|
+
| `linteffect/no-request-scoped-long-lived-resource` | Strict: resource acquisition or construction inside request, route, endpoint, controller, or handler functions. | Keeps long-lived clients and pools in application Layers instead of multiplying them per request. |
|
|
378
|
+
| `linteffect/no-global-resource-singleton` | Strict: module-level `new Client`, `new Pool`, `new Database`, and similar resource-like constructors. | Keeps construction, testing, and shutdown ownership in services and Layers. |
|
|
379
|
+
| `linteffect/no-run-with-open-resource` | Runtime: `Effect.run*` in a lexical scope containing an unowned resource creation. | Prevents runtime execution from finishing while an imperative resource remains open. |
|
|
380
|
+
| `linteffect/no-nested-acquire-release` | Strict: `Effect.acquireRelease` / `acquireUseRelease` nesting deeper than two levels. | Encourages named Layers and manageable release boundaries instead of opaque release stacks. |
|
|
381
|
+
| `linteffect/no-missing-layer-provision-at-run` | Strict: `Effect.run*` on a program that yields a service tag without a local `Effect.provide` or `Layer.provide`. | Makes runtime dependency provisioning visible at the application boundary. |
|
|
382
|
+
|
|
383
|
+
`Scope.global` remains a deferred candidate because the supported Effect API does
|
|
384
|
+
not currently expose it; it is not part of the v1 export surface.
|
|
310
385
|
|
|
311
386
|
### Pipeline Shape and Sequencing
|
|
312
387
|
|
|
@@ -396,3 +471,4 @@ with existing projects.
|
|
|
396
471
|
| `linteffect/no-early-catchall-null` | Non-boundary `catchAll` recovery with `Effect.succeed(null)`, `undefined`, or a fallback value. | Lets higher layers own recovery instead of leaking untyped absence from domain logic. |
|
|
397
472
|
| `linteffect/no-expected-state-as-error` | `Effect.fail("NotFound")`, `"Missing"`, `"Empty"`, or `"None"`. | Models expected states as `Option`, `Either`, or tagged data instead of overloading failure. |
|
|
398
473
|
| `linteffect/no-exception-domain-error` | `throw new *Error` inside Effect workflows. | Keeps domain failures in typed Effect channels with supervision and structured recovery. |
|
|
474
|
+
| `linteffect/no-empty-error-tag` | Strict: `_tag`-only error types and `Data.TaggedError` classes with empty payloads. | Requires enough structured context for recovery, diagnosis, and domain-level observability. |
|
package/dist/index.d.mts
CHANGED
|
@@ -6,15 +6,16 @@ declare const jsPlugins: readonly [{
|
|
|
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
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" | "linteffect/no-manual-deferred-coordination" | "linteffect/no-acquire-without-scoped-release" | "linteffect/no-yield-with-held-semaphore-permit" | "linteffect/no-yield-with-held-mutable-ref" | "linteffect/no-unscoped-background-fiber", "error">;
|
|
9
|
-
declare const resourceLifetimeRules: Record<"linteffect/no-manual-resource-close" | "linteffect/no-unbound-scope" | "linteffect/no-resource-succeed-escape", "error">;
|
|
9
|
+
declare const resourceLifetimeRules: Record<"linteffect/no-manual-resource-close" | "linteffect/no-unbound-scope" | "linteffect/no-resource-succeed-escape" | "linteffect/no-resource-without-acquire-release" | "linteffect/no-request-scoped-long-lived-resource" | "linteffect/no-global-resource-singleton" | "linteffect/no-run-with-open-resource" | "linteffect/no-nested-acquire-release" | "linteffect/no-missing-layer-provision-at-run", "error">;
|
|
10
10
|
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">;
|
|
11
11
|
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">;
|
|
12
12
|
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">;
|
|
13
13
|
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">;
|
|
14
14
|
declare const domainModelingRules: Record<"linteffect/no-new-date-in-domain-logic" | "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">;
|
|
15
|
-
declare const errorModelingRules: Record<"linteffect/no-early-catchall-null" | "linteffect/no-expected-state-as-error" | "linteffect/no-exception-domain-error" | "linteffect/no-effect-fail-error-message" | "linteffect/no-catchall-generic-rethrow" | "linteffect/no-log-only-error-handling" | "linteffect/no-error-as-public-effect-error" | "linteffect/no-unknown-public-error-channel" | "linteffect/no-mixed-effect-error-shapes", "error">;
|
|
15
|
+
declare const errorModelingRules: Record<"linteffect/no-early-catchall-null" | "linteffect/no-empty-error-tag" | "linteffect/no-expected-state-as-error" | "linteffect/no-exception-domain-error" | "linteffect/no-effect-fail-error-message" | "linteffect/no-catchall-generic-rethrow" | "linteffect/no-log-only-error-handling" | "linteffect/no-error-as-public-effect-error" | "linteffect/no-unknown-public-error-channel" | "linteffect/no-mixed-effect-error-shapes", "error">;
|
|
16
16
|
declare const dddRules: {
|
|
17
17
|
readonly "linteffect/no-early-catchall-null": "error";
|
|
18
|
+
readonly "linteffect/no-empty-error-tag": "error";
|
|
18
19
|
readonly "linteffect/no-expected-state-as-error": "error";
|
|
19
20
|
readonly "linteffect/no-exception-domain-error": "error";
|
|
20
21
|
readonly "linteffect/no-effect-fail-error-message": "error";
|
|
@@ -35,28 +36,29 @@ declare const dddRules: {
|
|
|
35
36
|
readonly "linteffect/no-adhoc-domain-error": "error";
|
|
36
37
|
readonly "linteffect/no-domain-meaning-by-folder-only": "error";
|
|
37
38
|
};
|
|
38
|
-
declare const effectFlowRules: Record<"linteffect/no-piped-yield-in-gen" | "linteffect/no-gen-for-mapping" | "linteffect/prefer-gen-for-workflow", "error">;
|
|
39
|
-
declare const pureTransformationRules: Record<"linteffect/no-large-anonymous-flow" | "linteffect/no-effect-in-flow" | "linteffect/prefer-named-flow", "error">;
|
|
39
|
+
declare const effectFlowRules: Record<"linteffect/no-piped-yield-in-gen" | "linteffect/no-gen-for-mapping" | "linteffect/prefer-gen-for-workflow" | "linteffect/no-business-logic-in-pipe", "error">;
|
|
40
|
+
declare const pureTransformationRules: Record<"linteffect/no-large-anonymous-flow" | "linteffect/no-effect-in-flow" | "linteffect/prefer-named-flow" | "linteffect/prefer-flow-for-pure-pipeline", "error">;
|
|
40
41
|
declare const behaviorDecorationRules: Record<"linteffect/prefer-pipe-for-behavior" | "linteffect/prefer-decorated-effect-before-gen" | "linteffect/no-workflow-in-behavior-pipe", "error">;
|
|
41
42
|
declare const styleSeparationRules: Record<"linteffect/no-mixed-pillar-function" | "linteffect/no-clever-effect-expression" | "linteffect/prefer-extracted-concept", "error">;
|
|
42
43
|
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">;
|
|
43
44
|
declare const platformAndBoundaryHygieneRules: Record<"linteffect/no-json-parse-without-schema" | "linteffect/no-date-now-in-effect" | "linteffect/no-hidden-effect-execution" | "linteffect/no-boundary-try-catch-without-effect-map" | "linteffect/no-node-fs-in-effect-code" | "linteffect/no-node-platform-in-shared-code" | "linteffect/no-process-env-direct-read", "error">;
|
|
44
45
|
declare const testingObservabilityAndQaRules: Record<"linteffect/no-console-in-effect-flow" | "linteffect/no-effect-log-without-structured-context" | "linteffect/require-span-on-public-service-method" | "linteffect/no-runpromise-in-non-async-test-body" | "linteffect/require-effect-flip-for-error-test" | "linteffect/no-test-mock-layer-when-default-available", "error">;
|
|
45
|
-
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-console-in-effect-flow" | "linteffect/no-effect-log-without-structured-context" | "linteffect/require-span-on-public-service-method" | "linteffect/no-runpromise-in-non-async-test-body" | "linteffect/require-effect-flip-for-error-test" | "linteffect/no-test-mock-layer-when-default-available" | "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-json-parse-without-schema" | "linteffect/no-date-now-in-effect" | "linteffect/no-new-date-in-domain-logic" | "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-early-catchall-null" | "linteffect/no-expected-state-as-error" | "linteffect/no-exception-domain-error" | "linteffect/no-effect-fail-error-message" | "linteffect/no-catchall-generic-rethrow" | "linteffect/no-log-only-error-handling" | "linteffect/no-error-as-public-effect-error" | "linteffect/no-unknown-public-error-channel" | "linteffect/no-mixed-effect-error-shapes" | "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-hidden-effect-execution" | "linteffect/no-boundary-try-catch-without-effect-map" | "linteffect/no-node-fs-in-effect-code" | "linteffect/no-node-platform-in-shared-code" | "linteffect/no-process-env-direct-read" | "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" | "linteffect/no-manual-deferred-coordination" | "linteffect/no-acquire-without-scoped-release" | "linteffect/no-manual-resource-close" | "linteffect/no-unbound-scope" | "linteffect/no-resource-succeed-escape" | "linteffect/no-yield-with-held-semaphore-permit" | "linteffect/no-yield-with-held-mutable-ref" | "linteffect/no-unscoped-background-fiber", "error">;
|
|
46
|
-
declare const recommendedRules: 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-console-in-effect-flow" | "linteffect/no-effect-log-without-structured-context" | "linteffect/require-span-on-public-service-method" | "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-json-parse-without-schema" | "linteffect/no-date-now-in-effect" | "linteffect/no-new-date-in-domain-logic" | "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-exception-domain-error" | "linteffect/no-effect-fail-error-message" | "linteffect/no-catchall-generic-rethrow" | "linteffect/no-log-only-error-handling" | "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-hidden-effect-execution" | "linteffect/no-boundary-try-catch-without-effect-map" | "linteffect/no-node-fs-in-effect-code" | "linteffect/no-node-platform-in-shared-code" | "linteffect/no-process-env-direct-read" | "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" | "linteffect/no-acquire-without-scoped-release" | "linteffect/no-manual-resource-close" | "linteffect/no-unbound-scope", "error">;
|
|
46
|
+
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-console-in-effect-flow" | "linteffect/no-effect-log-without-structured-context" | "linteffect/require-span-on-public-service-method" | "linteffect/no-runpromise-in-non-async-test-body" | "linteffect/require-effect-flip-for-error-test" | "linteffect/no-test-mock-layer-when-default-available" | "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-business-logic-in-pipe" | "linteffect/no-large-anonymous-flow" | "linteffect/no-effect-in-flow" | "linteffect/prefer-named-flow" | "linteffect/prefer-flow-for-pure-pipeline" | "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-json-parse-without-schema" | "linteffect/no-date-now-in-effect" | "linteffect/no-new-date-in-domain-logic" | "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-early-catchall-null" | "linteffect/no-empty-error-tag" | "linteffect/no-expected-state-as-error" | "linteffect/no-exception-domain-error" | "linteffect/no-effect-fail-error-message" | "linteffect/no-catchall-generic-rethrow" | "linteffect/no-log-only-error-handling" | "linteffect/no-error-as-public-effect-error" | "linteffect/no-unknown-public-error-channel" | "linteffect/no-mixed-effect-error-shapes" | "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-hidden-effect-execution" | "linteffect/no-boundary-try-catch-without-effect-map" | "linteffect/no-node-fs-in-effect-code" | "linteffect/no-node-platform-in-shared-code" | "linteffect/no-process-env-direct-read" | "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" | "linteffect/no-manual-deferred-coordination" | "linteffect/no-acquire-without-scoped-release" | "linteffect/no-manual-resource-close" | "linteffect/no-unbound-scope" | "linteffect/no-resource-succeed-escape" | "linteffect/no-resource-without-acquire-release" | "linteffect/no-request-scoped-long-lived-resource" | "linteffect/no-global-resource-singleton" | "linteffect/no-run-with-open-resource" | "linteffect/no-nested-acquire-release" | "linteffect/no-missing-layer-provision-at-run" | "linteffect/no-yield-with-held-semaphore-permit" | "linteffect/no-yield-with-held-mutable-ref" | "linteffect/no-unscoped-background-fiber", "error">;
|
|
47
|
+
declare const recommendedRules: 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-console-in-effect-flow" | "linteffect/no-effect-log-without-structured-context" | "linteffect/require-span-on-public-service-method" | "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-json-parse-without-schema" | "linteffect/no-date-now-in-effect" | "linteffect/no-new-date-in-domain-logic" | "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-exception-domain-error" | "linteffect/no-effect-fail-error-message" | "linteffect/no-catchall-generic-rethrow" | "linteffect/no-log-only-error-handling" | "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-hidden-effect-execution" | "linteffect/no-boundary-try-catch-without-effect-map" | "linteffect/no-node-fs-in-effect-code" | "linteffect/no-node-platform-in-shared-code" | "linteffect/no-process-env-direct-read" | "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" | "linteffect/no-acquire-without-scoped-release" | "linteffect/no-manual-resource-close" | "linteffect/no-unbound-scope" | "linteffect/no-resource-without-acquire-release" | "linteffect/no-run-with-open-resource", "error">;
|
|
47
48
|
declare const ruleGroups: {
|
|
48
49
|
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">;
|
|
49
50
|
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">;
|
|
50
51
|
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" | "linteffect/no-manual-deferred-coordination" | "linteffect/no-acquire-without-scoped-release" | "linteffect/no-yield-with-held-semaphore-permit" | "linteffect/no-yield-with-held-mutable-ref" | "linteffect/no-unscoped-background-fiber", "error">;
|
|
51
|
-
readonly resourceLifetime: Record<"linteffect/no-manual-resource-close" | "linteffect/no-unbound-scope" | "linteffect/no-resource-succeed-escape", "error">;
|
|
52
|
+
readonly resourceLifetime: Record<"linteffect/no-manual-resource-close" | "linteffect/no-unbound-scope" | "linteffect/no-resource-succeed-escape" | "linteffect/no-resource-without-acquire-release" | "linteffect/no-request-scoped-long-lived-resource" | "linteffect/no-global-resource-singleton" | "linteffect/no-run-with-open-resource" | "linteffect/no-nested-acquire-release" | "linteffect/no-missing-layer-provision-at-run", "error">;
|
|
52
53
|
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">;
|
|
53
54
|
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">;
|
|
54
55
|
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">;
|
|
55
56
|
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">;
|
|
56
57
|
readonly domainModeling: Record<"linteffect/no-new-date-in-domain-logic" | "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">;
|
|
57
|
-
readonly errorModeling: Record<"linteffect/no-early-catchall-null" | "linteffect/no-expected-state-as-error" | "linteffect/no-exception-domain-error" | "linteffect/no-effect-fail-error-message" | "linteffect/no-catchall-generic-rethrow" | "linteffect/no-log-only-error-handling" | "linteffect/no-error-as-public-effect-error" | "linteffect/no-unknown-public-error-channel" | "linteffect/no-mixed-effect-error-shapes", "error">;
|
|
58
|
+
readonly errorModeling: Record<"linteffect/no-early-catchall-null" | "linteffect/no-empty-error-tag" | "linteffect/no-expected-state-as-error" | "linteffect/no-exception-domain-error" | "linteffect/no-effect-fail-error-message" | "linteffect/no-catchall-generic-rethrow" | "linteffect/no-log-only-error-handling" | "linteffect/no-error-as-public-effect-error" | "linteffect/no-unknown-public-error-channel" | "linteffect/no-mixed-effect-error-shapes", "error">;
|
|
58
59
|
readonly ddd: {
|
|
59
60
|
readonly "linteffect/no-early-catchall-null": "error";
|
|
61
|
+
readonly "linteffect/no-empty-error-tag": "error";
|
|
60
62
|
readonly "linteffect/no-expected-state-as-error": "error";
|
|
61
63
|
readonly "linteffect/no-exception-domain-error": "error";
|
|
62
64
|
readonly "linteffect/no-effect-fail-error-message": "error";
|
|
@@ -77,8 +79,8 @@ declare const ruleGroups: {
|
|
|
77
79
|
readonly "linteffect/no-adhoc-domain-error": "error";
|
|
78
80
|
readonly "linteffect/no-domain-meaning-by-folder-only": "error";
|
|
79
81
|
};
|
|
80
|
-
readonly effectFlow: Record<"linteffect/no-piped-yield-in-gen" | "linteffect/no-gen-for-mapping" | "linteffect/prefer-gen-for-workflow", "error">;
|
|
81
|
-
readonly pureTransformation: Record<"linteffect/no-large-anonymous-flow" | "linteffect/no-effect-in-flow" | "linteffect/prefer-named-flow", "error">;
|
|
82
|
+
readonly effectFlow: Record<"linteffect/no-piped-yield-in-gen" | "linteffect/no-gen-for-mapping" | "linteffect/prefer-gen-for-workflow" | "linteffect/no-business-logic-in-pipe", "error">;
|
|
83
|
+
readonly pureTransformation: Record<"linteffect/no-large-anonymous-flow" | "linteffect/no-effect-in-flow" | "linteffect/prefer-named-flow" | "linteffect/prefer-flow-for-pure-pipeline", "error">;
|
|
82
84
|
readonly behaviorDecoration: Record<"linteffect/prefer-pipe-for-behavior" | "linteffect/prefer-decorated-effect-before-gen" | "linteffect/no-workflow-in-behavior-pipe", "error">;
|
|
83
85
|
readonly styleSeparation: Record<"linteffect/no-mixed-pillar-function" | "linteffect/no-clever-effect-expression" | "linteffect/prefer-extracted-concept", "error">;
|
|
84
86
|
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">;
|
|
@@ -90,7 +92,17 @@ declare const recommended: {
|
|
|
90
92
|
readonly name: "linteffect";
|
|
91
93
|
readonly specifier: "@opsydyn/oxlint-effect";
|
|
92
94
|
}];
|
|
93
|
-
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-console-in-effect-flow" | "linteffect/no-effect-log-without-structured-context" | "linteffect/require-span-on-public-service-method" | "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-json-parse-without-schema" | "linteffect/no-date-now-in-effect" | "linteffect/no-new-date-in-domain-logic" | "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-exception-domain-error" | "linteffect/no-effect-fail-error-message" | "linteffect/no-catchall-generic-rethrow" | "linteffect/no-log-only-error-handling" | "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-hidden-effect-execution" | "linteffect/no-boundary-try-catch-without-effect-map" | "linteffect/no-node-fs-in-effect-code" | "linteffect/no-node-platform-in-shared-code" | "linteffect/no-process-env-direct-read" | "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" | "linteffect/no-acquire-without-scoped-release" | "linteffect/no-manual-resource-close" | "linteffect/no-unbound-scope", "error">;
|
|
95
|
+
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-console-in-effect-flow" | "linteffect/no-effect-log-without-structured-context" | "linteffect/require-span-on-public-service-method" | "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-json-parse-without-schema" | "linteffect/no-date-now-in-effect" | "linteffect/no-new-date-in-domain-logic" | "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-exception-domain-error" | "linteffect/no-effect-fail-error-message" | "linteffect/no-catchall-generic-rethrow" | "linteffect/no-log-only-error-handling" | "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-hidden-effect-execution" | "linteffect/no-boundary-try-catch-without-effect-map" | "linteffect/no-node-fs-in-effect-code" | "linteffect/no-node-platform-in-shared-code" | "linteffect/no-process-env-direct-read" | "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" | "linteffect/no-acquire-without-scoped-release" | "linteffect/no-manual-resource-close" | "linteffect/no-unbound-scope" | "linteffect/no-resource-without-acquire-release" | "linteffect/no-run-with-open-resource", "error">;
|
|
96
|
+
};
|
|
97
|
+
declare const typeAware: {
|
|
98
|
+
readonly options: {
|
|
99
|
+
readonly typeAware: true;
|
|
100
|
+
};
|
|
101
|
+
readonly jsPlugins: readonly [{
|
|
102
|
+
readonly name: "linteffect";
|
|
103
|
+
readonly specifier: "@opsydyn/oxlint-effect";
|
|
104
|
+
}];
|
|
105
|
+
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-console-in-effect-flow" | "linteffect/no-effect-log-without-structured-context" | "linteffect/require-span-on-public-service-method" | "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-json-parse-without-schema" | "linteffect/no-date-now-in-effect" | "linteffect/no-new-date-in-domain-logic" | "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-exception-domain-error" | "linteffect/no-effect-fail-error-message" | "linteffect/no-catchall-generic-rethrow" | "linteffect/no-log-only-error-handling" | "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-hidden-effect-execution" | "linteffect/no-boundary-try-catch-without-effect-map" | "linteffect/no-node-fs-in-effect-code" | "linteffect/no-node-platform-in-shared-code" | "linteffect/no-process-env-direct-read" | "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" | "linteffect/no-acquire-without-scoped-release" | "linteffect/no-manual-resource-close" | "linteffect/no-unbound-scope" | "linteffect/no-resource-without-acquire-release" | "linteffect/no-run-with-open-resource", "error">;
|
|
94
106
|
};
|
|
95
107
|
declare const reactAndRuntimeBoundaries: {
|
|
96
108
|
readonly jsPlugins: readonly [{
|
|
@@ -118,7 +130,7 @@ declare const resourceLifetime: {
|
|
|
118
130
|
readonly name: "linteffect";
|
|
119
131
|
readonly specifier: "@opsydyn/oxlint-effect";
|
|
120
132
|
}];
|
|
121
|
-
readonly rules: Record<"linteffect/no-manual-resource-close" | "linteffect/no-unbound-scope" | "linteffect/no-resource-succeed-escape", "error">;
|
|
133
|
+
readonly rules: Record<"linteffect/no-manual-resource-close" | "linteffect/no-unbound-scope" | "linteffect/no-resource-succeed-escape" | "linteffect/no-resource-without-acquire-release" | "linteffect/no-request-scoped-long-lived-resource" | "linteffect/no-global-resource-singleton" | "linteffect/no-run-with-open-resource" | "linteffect/no-nested-acquire-release" | "linteffect/no-missing-layer-provision-at-run", "error">;
|
|
122
134
|
};
|
|
123
135
|
declare const pipelineShapeAndSequencing: {
|
|
124
136
|
readonly jsPlugins: readonly [{
|
|
@@ -160,7 +172,7 @@ declare const errorModeling: {
|
|
|
160
172
|
readonly name: "linteffect";
|
|
161
173
|
readonly specifier: "@opsydyn/oxlint-effect";
|
|
162
174
|
}];
|
|
163
|
-
readonly rules: Record<"linteffect/no-early-catchall-null" | "linteffect/no-expected-state-as-error" | "linteffect/no-exception-domain-error" | "linteffect/no-effect-fail-error-message" | "linteffect/no-catchall-generic-rethrow" | "linteffect/no-log-only-error-handling" | "linteffect/no-error-as-public-effect-error" | "linteffect/no-unknown-public-error-channel" | "linteffect/no-mixed-effect-error-shapes", "error">;
|
|
175
|
+
readonly rules: Record<"linteffect/no-early-catchall-null" | "linteffect/no-empty-error-tag" | "linteffect/no-expected-state-as-error" | "linteffect/no-exception-domain-error" | "linteffect/no-effect-fail-error-message" | "linteffect/no-catchall-generic-rethrow" | "linteffect/no-log-only-error-handling" | "linteffect/no-error-as-public-effect-error" | "linteffect/no-unknown-public-error-channel" | "linteffect/no-mixed-effect-error-shapes", "error">;
|
|
164
176
|
};
|
|
165
177
|
declare const ddd: {
|
|
166
178
|
readonly jsPlugins: readonly [{
|
|
@@ -169,6 +181,7 @@ declare const ddd: {
|
|
|
169
181
|
}];
|
|
170
182
|
readonly rules: {
|
|
171
183
|
readonly "linteffect/no-early-catchall-null": "error";
|
|
184
|
+
readonly "linteffect/no-empty-error-tag": "error";
|
|
172
185
|
readonly "linteffect/no-expected-state-as-error": "error";
|
|
173
186
|
readonly "linteffect/no-exception-domain-error": "error";
|
|
174
187
|
readonly "linteffect/no-effect-fail-error-message": "error";
|
|
@@ -195,14 +208,14 @@ declare const effectFlow: {
|
|
|
195
208
|
readonly name: "linteffect";
|
|
196
209
|
readonly specifier: "@opsydyn/oxlint-effect";
|
|
197
210
|
}];
|
|
198
|
-
readonly rules: Record<"linteffect/no-piped-yield-in-gen" | "linteffect/no-gen-for-mapping" | "linteffect/prefer-gen-for-workflow", "error">;
|
|
211
|
+
readonly rules: Record<"linteffect/no-piped-yield-in-gen" | "linteffect/no-gen-for-mapping" | "linteffect/prefer-gen-for-workflow" | "linteffect/no-business-logic-in-pipe", "error">;
|
|
199
212
|
};
|
|
200
213
|
declare const pureTransformation: {
|
|
201
214
|
readonly jsPlugins: readonly [{
|
|
202
215
|
readonly name: "linteffect";
|
|
203
216
|
readonly specifier: "@opsydyn/oxlint-effect";
|
|
204
217
|
}];
|
|
205
|
-
readonly rules: Record<"linteffect/no-large-anonymous-flow" | "linteffect/no-effect-in-flow" | "linteffect/prefer-named-flow", "error">;
|
|
218
|
+
readonly rules: Record<"linteffect/no-large-anonymous-flow" | "linteffect/no-effect-in-flow" | "linteffect/prefer-named-flow" | "linteffect/prefer-flow-for-pure-pipeline", "error">;
|
|
206
219
|
};
|
|
207
220
|
declare const behaviorDecoration: {
|
|
208
221
|
readonly jsPlugins: readonly [{
|
|
@@ -245,7 +258,17 @@ declare const presets: {
|
|
|
245
258
|
readonly name: "linteffect";
|
|
246
259
|
readonly specifier: "@opsydyn/oxlint-effect";
|
|
247
260
|
}];
|
|
248
|
-
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-console-in-effect-flow" | "linteffect/no-effect-log-without-structured-context" | "linteffect/require-span-on-public-service-method" | "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-json-parse-without-schema" | "linteffect/no-date-now-in-effect" | "linteffect/no-new-date-in-domain-logic" | "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-exception-domain-error" | "linteffect/no-effect-fail-error-message" | "linteffect/no-catchall-generic-rethrow" | "linteffect/no-log-only-error-handling" | "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-hidden-effect-execution" | "linteffect/no-boundary-try-catch-without-effect-map" | "linteffect/no-node-fs-in-effect-code" | "linteffect/no-node-platform-in-shared-code" | "linteffect/no-process-env-direct-read" | "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" | "linteffect/no-acquire-without-scoped-release" | "linteffect/no-manual-resource-close" | "linteffect/no-unbound-scope", "error">;
|
|
261
|
+
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-console-in-effect-flow" | "linteffect/no-effect-log-without-structured-context" | "linteffect/require-span-on-public-service-method" | "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-json-parse-without-schema" | "linteffect/no-date-now-in-effect" | "linteffect/no-new-date-in-domain-logic" | "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-exception-domain-error" | "linteffect/no-effect-fail-error-message" | "linteffect/no-catchall-generic-rethrow" | "linteffect/no-log-only-error-handling" | "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-hidden-effect-execution" | "linteffect/no-boundary-try-catch-without-effect-map" | "linteffect/no-node-fs-in-effect-code" | "linteffect/no-node-platform-in-shared-code" | "linteffect/no-process-env-direct-read" | "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" | "linteffect/no-acquire-without-scoped-release" | "linteffect/no-manual-resource-close" | "linteffect/no-unbound-scope" | "linteffect/no-resource-without-acquire-release" | "linteffect/no-run-with-open-resource", "error">;
|
|
262
|
+
};
|
|
263
|
+
readonly typeAware: {
|
|
264
|
+
readonly options: {
|
|
265
|
+
readonly typeAware: true;
|
|
266
|
+
};
|
|
267
|
+
readonly jsPlugins: readonly [{
|
|
268
|
+
readonly name: "linteffect";
|
|
269
|
+
readonly specifier: "@opsydyn/oxlint-effect";
|
|
270
|
+
}];
|
|
271
|
+
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-console-in-effect-flow" | "linteffect/no-effect-log-without-structured-context" | "linteffect/require-span-on-public-service-method" | "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-json-parse-without-schema" | "linteffect/no-date-now-in-effect" | "linteffect/no-new-date-in-domain-logic" | "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-exception-domain-error" | "linteffect/no-effect-fail-error-message" | "linteffect/no-catchall-generic-rethrow" | "linteffect/no-log-only-error-handling" | "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-hidden-effect-execution" | "linteffect/no-boundary-try-catch-without-effect-map" | "linteffect/no-node-fs-in-effect-code" | "linteffect/no-node-platform-in-shared-code" | "linteffect/no-process-env-direct-read" | "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" | "linteffect/no-acquire-without-scoped-release" | "linteffect/no-manual-resource-close" | "linteffect/no-unbound-scope" | "linteffect/no-resource-without-acquire-release" | "linteffect/no-run-with-open-resource", "error">;
|
|
249
272
|
};
|
|
250
273
|
readonly reactAndRuntimeBoundaries: {
|
|
251
274
|
readonly jsPlugins: readonly [{
|
|
@@ -273,7 +296,7 @@ declare const presets: {
|
|
|
273
296
|
readonly name: "linteffect";
|
|
274
297
|
readonly specifier: "@opsydyn/oxlint-effect";
|
|
275
298
|
}];
|
|
276
|
-
readonly rules: Record<"linteffect/no-manual-resource-close" | "linteffect/no-unbound-scope" | "linteffect/no-resource-succeed-escape", "error">;
|
|
299
|
+
readonly rules: Record<"linteffect/no-manual-resource-close" | "linteffect/no-unbound-scope" | "linteffect/no-resource-succeed-escape" | "linteffect/no-resource-without-acquire-release" | "linteffect/no-request-scoped-long-lived-resource" | "linteffect/no-global-resource-singleton" | "linteffect/no-run-with-open-resource" | "linteffect/no-nested-acquire-release" | "linteffect/no-missing-layer-provision-at-run", "error">;
|
|
277
300
|
};
|
|
278
301
|
readonly pipelineShapeAndSequencing: {
|
|
279
302
|
readonly jsPlugins: readonly [{
|
|
@@ -315,7 +338,7 @@ declare const presets: {
|
|
|
315
338
|
readonly name: "linteffect";
|
|
316
339
|
readonly specifier: "@opsydyn/oxlint-effect";
|
|
317
340
|
}];
|
|
318
|
-
readonly rules: Record<"linteffect/no-early-catchall-null" | "linteffect/no-expected-state-as-error" | "linteffect/no-exception-domain-error" | "linteffect/no-effect-fail-error-message" | "linteffect/no-catchall-generic-rethrow" | "linteffect/no-log-only-error-handling" | "linteffect/no-error-as-public-effect-error" | "linteffect/no-unknown-public-error-channel" | "linteffect/no-mixed-effect-error-shapes", "error">;
|
|
341
|
+
readonly rules: Record<"linteffect/no-early-catchall-null" | "linteffect/no-empty-error-tag" | "linteffect/no-expected-state-as-error" | "linteffect/no-exception-domain-error" | "linteffect/no-effect-fail-error-message" | "linteffect/no-catchall-generic-rethrow" | "linteffect/no-log-only-error-handling" | "linteffect/no-error-as-public-effect-error" | "linteffect/no-unknown-public-error-channel" | "linteffect/no-mixed-effect-error-shapes", "error">;
|
|
319
342
|
};
|
|
320
343
|
readonly ddd: {
|
|
321
344
|
readonly jsPlugins: readonly [{
|
|
@@ -324,6 +347,7 @@ declare const presets: {
|
|
|
324
347
|
}];
|
|
325
348
|
readonly rules: {
|
|
326
349
|
readonly "linteffect/no-early-catchall-null": "error";
|
|
350
|
+
readonly "linteffect/no-empty-error-tag": "error";
|
|
327
351
|
readonly "linteffect/no-expected-state-as-error": "error";
|
|
328
352
|
readonly "linteffect/no-exception-domain-error": "error";
|
|
329
353
|
readonly "linteffect/no-effect-fail-error-message": "error";
|
|
@@ -350,14 +374,14 @@ declare const presets: {
|
|
|
350
374
|
readonly name: "linteffect";
|
|
351
375
|
readonly specifier: "@opsydyn/oxlint-effect";
|
|
352
376
|
}];
|
|
353
|
-
readonly rules: Record<"linteffect/no-piped-yield-in-gen" | "linteffect/no-gen-for-mapping" | "linteffect/prefer-gen-for-workflow", "error">;
|
|
377
|
+
readonly rules: Record<"linteffect/no-piped-yield-in-gen" | "linteffect/no-gen-for-mapping" | "linteffect/prefer-gen-for-workflow" | "linteffect/no-business-logic-in-pipe", "error">;
|
|
354
378
|
};
|
|
355
379
|
readonly pureTransformation: {
|
|
356
380
|
readonly jsPlugins: readonly [{
|
|
357
381
|
readonly name: "linteffect";
|
|
358
382
|
readonly specifier: "@opsydyn/oxlint-effect";
|
|
359
383
|
}];
|
|
360
|
-
readonly rules: Record<"linteffect/no-large-anonymous-flow" | "linteffect/no-effect-in-flow" | "linteffect/prefer-named-flow", "error">;
|
|
384
|
+
readonly rules: Record<"linteffect/no-large-anonymous-flow" | "linteffect/no-effect-in-flow" | "linteffect/prefer-named-flow" | "linteffect/prefer-flow-for-pure-pipeline", "error">;
|
|
361
385
|
};
|
|
362
386
|
readonly behaviorDecoration: {
|
|
363
387
|
readonly jsPlugins: readonly [{
|
|
@@ -397,5 +421,5 @@ declare const presets: {
|
|
|
397
421
|
};
|
|
398
422
|
declare const _default: import("@oxlint/plugins").Plugin;
|
|
399
423
|
//#endregion
|
|
400
|
-
export { allRules, atomStateAndPlatformBoundaries, atomStateAndPlatformBoundariesRules, behaviorDecoration, behaviorDecorationRules, branchingAndLocalControlFlow, branchingAndLocalControlFlowRules, concurrencySafety, concurrencySafetyRules, ddd, dddRules, _default as default, domainModeling, domainModelingRules, effectComposition, effectCompositionRules, effectFlow, effectFlowRules, errorModeling, errorModelingRules, jsPlugins, optionMatchAndDataNormalization, optionMatchAndDataNormalizationRules, pipelineShapeAndSequencing, pipelineShapeAndSequencingRules, platformAndBoundaryHygiene, platformAndBoundaryHygieneRules, presets, pureTransformation, pureTransformationRules, reactAndRuntimeBoundaries, reactAndRuntimeBoundariesRules, recommended, recommendedRules, resourceLifetime, resourceLifetimeRules, ruleGroups, serviceAndLayerArchitecture, serviceAndLayerArchitectureRules, styleSeparation, styleSeparationRules, testingObservabilityAndQa, testingObservabilityAndQaRules };
|
|
424
|
+
export { allRules, atomStateAndPlatformBoundaries, atomStateAndPlatformBoundariesRules, behaviorDecoration, behaviorDecorationRules, branchingAndLocalControlFlow, branchingAndLocalControlFlowRules, concurrencySafety, concurrencySafetyRules, ddd, dddRules, _default as default, domainModeling, domainModelingRules, effectComposition, effectCompositionRules, effectFlow, effectFlowRules, errorModeling, errorModelingRules, jsPlugins, optionMatchAndDataNormalization, optionMatchAndDataNormalizationRules, pipelineShapeAndSequencing, pipelineShapeAndSequencingRules, platformAndBoundaryHygiene, platformAndBoundaryHygieneRules, presets, pureTransformation, pureTransformationRules, reactAndRuntimeBoundaries, reactAndRuntimeBoundariesRules, recommended, recommendedRules, resourceLifetime, resourceLifetimeRules, ruleGroups, serviceAndLayerArchitecture, serviceAndLayerArchitectureRules, styleSeparation, styleSeparationRules, testingObservabilityAndQa, testingObservabilityAndQaRules, typeAware };
|
|
401
425
|
//# sourceMappingURL=index.d.mts.map
|