@opsydyn/oxlint-effect 2.0.1 → 2.2.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
|
@@ -49,6 +49,34 @@ installs from npm and checks annotated failures alongside clean repairs.
|
|
|
49
49
|
|
|
50
50
|
## Effect Versions
|
|
51
51
|
|
|
52
|
+
### Traced Functions And Explicit Contracts
|
|
53
|
+
|
|
54
|
+
**Version scope:** these changes apply to plugin **2.1.0 and later**. Version
|
|
55
|
+
**2.0.x** retains the previous recommended bans and option-presence concurrency
|
|
56
|
+
checks. This checkout carries the minor changeset; publication is separate.
|
|
57
|
+
|
|
58
|
+
`recommended` and `effect3.recommended` allow generator-based `Effect.fn`,
|
|
59
|
+
explicit `Effect.Effect`/`Layer.Layer` annotations and named Effect type aliases.
|
|
60
|
+
Named `Effect.fn` supplies tracing and stack-frame context; public service
|
|
61
|
+
contracts may deliberately specify success, error and requirement channels.
|
|
62
|
+
Prefer inference within implementations without erasing meaningful interfaces.
|
|
63
|
+
See [Effect.fn](https://effect.website/docs/v4/api/effect/Effect#fn) and the
|
|
64
|
+
[official service guide](https://effect.website/docs/v4/requirements-management/services).
|
|
65
|
+
|
|
66
|
+
The registered `no-effect-fn-generator`, `no-manual-effect-channels` and
|
|
67
|
+
`no-effect-type-alias` rules are now **opt-in style restrictions**, excluded from
|
|
68
|
+
both recommended maps and their `typeAware` companions. `effectComposition` and
|
|
69
|
+
`allRules` deliberately retain them; disable those three entries when composing
|
|
70
|
+
that full group and allowing these patterns. No rule ID was removed. Other
|
|
71
|
+
opinionated defaults are unchanged by this bounded recalibration.
|
|
72
|
+
|
|
73
|
+
Both packed consumers include annotated
|
|
74
|
+
[current failures](examples/effect4-consumer/src/policy-contracts.bad.ts) and
|
|
75
|
+
[valid traced service contracts](examples/effect4-consumer/src/policy-contracts.good.ts),
|
|
76
|
+
plus matching legacy files. Their runtime checks verify service values and the
|
|
77
|
+
automatic span name. Throwing inside Effect.fn remains a typed-failure warning;
|
|
78
|
+
supporting the function form does not permit unsafe bodies.
|
|
79
|
+
|
|
52
80
|
Published `2.0.0` makes default exports Effect 4 policy and adds `effect3` for
|
|
53
81
|
legacy projects. All 146 registered rules and 18 groups are
|
|
54
82
|
locally qualified for their documented forms against the pinned majors:
|
|
@@ -60,7 +88,7 @@ The [2.0.0 release](https://github.com/opsydyn/oxlint-effect/releases/tag/v2.0.0
|
|
|
60
88
|
includes migration notes. Older 1.x packages do not export `effect3`; upgrade
|
|
61
89
|
the plugin to 2.x to use the explicit legacy presets without upgrading Effect.
|
|
62
90
|
|
|
63
|
-
`bun run test:effect-versions` verifies pinned packed Effect 3.
|
|
91
|
+
`bun run test:effect-versions` verifies pinned packed Effect 3.22.1 and 4.0.0
|
|
64
92
|
consumers, with exact warning counts, clean controls and config typechecks.
|
|
65
93
|
All Q01-Q52 now have behavioural evidence in the matching packed consumers.
|
|
66
94
|
The complete rule/group gate and unchanged 30 KB bundle-size gate pass locally.
|
|
@@ -411,7 +439,7 @@ Effect flow, domain meaning, or runtime boundaries.
|
|
|
411
439
|
| `linteffect/no-effect-async` | `Effect.async(...)`. | Manual callback bridges are easy to leak or resume incorrectly. |
|
|
412
440
|
| `linteffect/no-effect-ignore` | `Effect.ignore(...)` and pipe arguments such as `Effect.ignore`. | Makes ignored failures explicit at boundaries instead of burying failure ownership. |
|
|
413
441
|
| `linteffect/no-effect-never` | `Effect.never`. | Infinite effects should have explicit lifecycle and teardown ownership. |
|
|
414
|
-
| `linteffect/no-effect-fn-generator` | `Effect.fn(function* ...)`; v4 also covers named
|
|
442
|
+
| `linteffect/no-effect-fn-generator` | Opt-in style restriction on `Effect.fn(function* ...)`; v4 also covers the named factory form. | Excluded from both recommended presets. Traced generators are supported Effect APIs; full group/all-rule users must disable this ban to retain them. |
|
|
415
443
|
| `linteffect/no-nested-effect-gen` | `Effect.gen` nested inside another `Effect.gen`; v4 includes `{ self }` forms. | Keeps generator-based effects linear; v4 excludes separately defined nested functions. |
|
|
416
444
|
| `linteffect/no-yield-without-star-in-effect-gen` | Plain `yield` inside `Effect.gen`; v4 includes `{ self }` forms. | Uses `yield*` for resumed-value typing and consistent workflow style. Plain yield can execute in v4; the rule is a delegation-style policy, not an interpreter-failure claim. |
|
|
417
445
|
| `linteffect/no-async-effect-combinator-callback` | `async` callbacks passed to supported Effect combinators; v4 includes `mapEager`, `flatMapEager`, recovery families and handler maps. | Adapts Promise APIs with `Effect.tryPromise` in gen/flatMap; map callbacks stay pure. Some legacy overloads accept Promises; the rule still requires explicit ownership. |
|
|
@@ -419,8 +447,8 @@ Effect flow, domain meaning, or runtime boundaries.
|
|
|
419
447
|
| `linteffect/no-try-catch-in-effect-logic` | `try/catch` inside gen or supported callbacks; v4 includes eager mapping/sequencing, `{ self }` and recovery maps. | Adapts throwing APIs with `Effect.try` and recovers with `catch` (v4), `catchAll` (v3), or `catchTag`. |
|
|
420
448
|
| `linteffect/no-promise-api-in-effect-logic` | Static Promise APIs and visible chains inside Effect logic; v4 includes eager mapping/sequencing, self-bound gen and recovery maps. | Adapts Promise APIs at a boundary. V4 excludes `Effect.catch`/unrelated receivers and cannot resolve stored aliases; v3 retains broad chain-name recognition. |
|
|
421
449
|
| `linteffect/no-swallowed-catch-all` | Plain `catch`/`catchEager` expression/block recovery (v4), piped `catchAll` expressions (v3), returning succeed/void/ignore or visibly successful asVoid. | Retains failure or uses an explicit typed domain branch. V4 `asVoid(Effect.fail(error))` stays clean because it preserves failure; legacy asVoid policy is unchanged. |
|
|
422
|
-
| `linteffect/no-manual-effect-channels` |
|
|
423
|
-
| `linteffect/no-effect-type-alias` |
|
|
450
|
+
| `linteffect/no-manual-effect-channels` | Opt-in inference-only restriction on explicit Effect/Layer annotations. | Excluded from both recommended presets; explicit service, public and polymorphic contracts are valid. |
|
|
451
|
+
| `linteffect/no-effect-type-alias` | Opt-in restriction on aliases around `Effect.Effect<...>`. | Excluded from both recommended presets; named public Effect contracts remain supported. |
|
|
424
452
|
| `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`. |
|
|
425
453
|
|
|
426
454
|
### Effect Flow
|
|
@@ -605,21 +633,44 @@ export default defineConfig({
|
|
|
605
633
|
|
|
606
634
|
### Concurrency Safety
|
|
607
635
|
|
|
636
|
+
**Version scope:** plugin **2.2.0 and later** changes the three race/shared-state
|
|
637
|
+
rules below for both majors. Published 2.1.x retains the
|
|
638
|
+
previous policy. Rule IDs, group selection and preset membership are unchanged.
|
|
639
|
+
These three rules now resolve actual value imports: `Effect as Fx`, namespace
|
|
640
|
+
imports from `effect` / `effect/Effect`, and named subpath operations. Direct,
|
|
641
|
+
curried and terminal pipe forms are supported; shadowed and type-only bindings
|
|
642
|
+
are excluded. This does not claim alias support for every concurrency rule.
|
|
643
|
+
|
|
644
|
+
Race warnings require visible resource-shaped acquisition without a local
|
|
645
|
+
cleanup owner. Pure or opaque operands do not need dummy finalizers. Cleanup on
|
|
646
|
+
another branch does not own an acquisition. Collection mutation warnings require
|
|
647
|
+
an explicit literal budget above one, global `Infinity` or `"unbounded"`; omission
|
|
648
|
+
and `1` are sequential and clean. Later opaque spreads/computed keys, named
|
|
649
|
+
budgets and legacy `"inherit"` remain unknown, not proven safe. Same-file lexical
|
|
650
|
+
ownership excludes worker-local/shadowed bindings and unexecuted callbacks.
|
|
651
|
+
|
|
652
|
+
See paired [Effect 4 failures](examples/effect4-consumer/src/concurrency-accuracy.bad.ts)
|
|
653
|
+
and [clean controls](examples/effect4-consumer/src/concurrency-accuracy.good.ts), or
|
|
654
|
+
the [legacy failures](examples/effect3-consumer/src/concurrency-accuracy.bad.ts)
|
|
655
|
+
and [controls](examples/effect3-consumer/src/concurrency-accuracy.good.ts).
|
|
656
|
+
The packed harness checks exact diagnostics, ordered values, atomic updates,
|
|
657
|
+
first-success/first-completion semantics, and the existing loser-release contracts.
|
|
658
|
+
|
|
608
659
|
| Rule | Catches | Why |
|
|
609
660
|
| --- | --- | --- |
|
|
610
|
-
| `linteffect/no-unbounded-effect-all` | `
|
|
661
|
+
| `linteffect/no-unbounded-effect-all` | Visible `"unbounded"` or `Infinity` concurrency on `Effect.all`, including stored/tuple inputs. | Omitted options are sequential and clean. Last explicit properties win; later opaque spreads/computed keys and named options are not resolved. Unknown budgets are not proof of safety. |
|
|
611
662
|
| `linteffect/no-fire-and-forget-fork` | V4: discarded direct/curried `forkChild` / `forkDetach` constructors, yielded handles and terminal pipe operators, including startup options. Legacy: bare `Effect.fork` statements only. | Bare construction is lazy, not a launched fiber. Retain and join/await/interrupt executed handles; children follow parent lifetime, detached fibers do not. `forkScoped` / `forkIn` are excluded; stored aliases and nonterminal pipes are not inferred. |
|
|
612
663
|
| `linteffect/no-fork-in-loop` | V4: `forkChild` / `forkDetach` in the own body of `for`, `for...of`, `for...in`, `while`, or `do...while`, including direct/curried/terminal-pipe startup forms. Legacy: broad nested `Effect.fork` traversal. | Retaining handles does not impose a collection budget; prefer bounded `Effect.all` / `Effect.forEach`. Scoped APIs remain excluded, which is not proof of bounded work. V4 skips nested function definitions. |
|
|
613
|
-
| `linteffect/no-race-without-cleanup` |
|
|
664
|
+
| `linteffect/no-race-without-cleanup` | Visible resource-shaped acquisition in a race branch without a local cleanup owner. Both majors support direct/curried/terminal-pipe `race`, `raceAll`, `raceFirst`; v4 adds `raceAllFirst`. | Races interrupt losers, not manually acquired resources. Pure/opaque operands stay clean. A sibling's cleanup is not ownership. Resource names and scope/finalizer wrappers are heuristics, not release proof; stored bodies and cross-file owners are not inferred. |
|
|
614
665
|
| `linteffect/no-unobserved-fiber` | V4: yielded `forkChild` / `forkDetach` handles without a same-binding `Fiber.join`, `await`, `interrupt`, reference pipe or direct return. Legacy: direct `Effect.fork` initializers matched by file-wide name. | V4 lexical references keep same-name/shadowed observations separate; lazy Effects and scoped APIs stay clean. Return transfers ownership, not a guarantee of later observation. Aliases/aggregate observers and arbitrary wrapped initializers are not inferred; reference presence does not prove execution. |
|
|
615
|
-
| `linteffect/no-unbounded-concurrent-retry` | Visible `Effect.retry`
|
|
666
|
+
| `linteffect/no-unbounded-concurrent-retry` | Visible `Effect.retry` inside `Effect.all` / `Effect.forEach` arguments with an explicit unbounded budget. | Prevents visible retry fan-out; sequential and finite budgets stay clean. Retry duration/count and opaque helpers are not inferred. Bound both concurrency and retry/backoff policy. |
|
|
616
667
|
| `linteffect/no-blocking-call-in-effect` | Identifier calls ending in `Sync`, or literal `fs` / `crypto` / `zlib` members ending in `Sync`, inside `Effect.sync` / `gen`; v4 also recognises self-bound `gen` and direct/named generator `fn`. | Sync suffixes are a heuristic, not import/performance analysis. Use genuinely asynchronous APIs via v4 `callback` (legacy `async`) / `tryPromise`, or a worker for blocking work. A Promise wrapper does not offload it. V4 skips nested function definitions; legacy traversal is broad. |
|
|
617
668
|
| `linteffect/no-promise-concurrency-in-effect` | Literal `Promise.all`, `allSettled`, `race`, or `any` inside `sync` / `gen` or recognised major-specific logic callbacks; v4 adds self-bound `gen` and direct/named generator `fn`. | Prefer bounded `Effect.all` / `forEach`, legacy `either` / v4 `result` for typed outcomes, `raceFirst` for first completion and `race` for first success. Underlying operations must observe cancellation signals. Defects/interruption and `AggregateError` require explicit semantics, not a mechanical swap. V4 skips nested definitions; aliases/computed calls are not inferred. |
|
|
618
|
-
| `linteffect/no-shared-mutable-state-across-fibers` |
|
|
669
|
+
| `linteffect/no-shared-mutable-state-across-fibers` | Captured scalar writes and known container mutations, including const containers, in inline explicitly parallel `all` / `forEach` work or legacy `fork` / current child-detached forks. Both majors use lexical identity. | Prefer atomic `Ref.update` or immutable aggregation. Sequential/opaque collections, local/shadow bindings and unused callbacks stay clean. Stored task bodies and object-property writes are not inferred; syntax is not execution/data-race proof. |
|
|
619
670
|
| `linteffect/no-timeout-with-noninterruptible-promise` | V4: direct/curried/terminal-pipe `timeout`, `timeoutOption` or `timeoutOrElse` around literal `promise` / `tryPromise` adapters without callback parameters. Legacy: direct `timeout`, always flags `promise`, flags `tryPromise` without parameters. | Timeout interrupts the wrapper; the operation must honour its forwarded AbortSignal. Parameter presence is not cancellation proof, and named inputs/nonterminal pipes are not resolved. Legacy's signal-aware `promise` warning is retained despite that API supporting cooperative cancellation. Timeout failure is v4 `TimeoutError`, legacy `TimeoutException`. |
|
|
620
671
|
| `linteffect/no-uninterruptible-concurrent-region` | V4: direct or terminal-pipe masking around inline collection, current child/detached/scoped/in forks, success/first-completion races or `Queue.take` / `PubSub.take`; traverses recognised gen/fn and logic callbacks, not ordinary nested definitions. Legacy: broad old fork/race/collection/Queue.take traversal. | Broad masking can defer cancellation until work finishes. Keep critical sections short and restore long-running work with `uninterruptibleMask`; restore reinstates ambient status, so use `interruptible` when overriding an already-masked caller is intended. Scoping alone does not restore interruption. Lazy syntax is not execution or child-mask proof; named bodies are not resolved. |
|
|
621
672
|
| `linteffect/no-unbounded-queue-or-pubsub` | Explicit `Queue.unbounded` / `PubSub.unbounded`; v4 also detects `Queue.make` with omitted/undefined options or inline missing/undefined/Infinity capacity, and `PubSub.makeAtomicUnbounded`. | Use bounded suspend/backpressure constructors with an owned capacity. Named/spread options and computed capacities are not evaluated; clean syntax is not capacity validation. Dropping/sliding changes delivery semantics. V4 PubSub subscriptions use `PubSub.take`, legacy subscriptions use `Queue.take`; scope subscriptions and shut down owned buffers. |
|
|
622
|
-
| `linteffect/no-global-mutable-concurrency-state` |
|
|
673
|
+
| `linteffect/no-global-mutable-concurrency-state` | Module/global scalar and container writes from inline explicitly parallel collections or supported forks, resolved by lexical binding in both majors. | Own atomic `Ref` state per service/execution or aggregate immutable results. Function-owned state is not global. Sequential/opaque collections and shadowed bindings stay clean; property writes, stored tasks and general execution safety are not inferred. |
|
|
623
674
|
| `linteffect/no-yield-with-held-semaphore-permit` | V4: instance/namespace `Semaphore.withPermit` / `withPermits`, including curried/terminal pipes, around visible waits, Promise adapters or current concurrent work in recognised gen/fn bodies. Legacy: `Effect.Semaphore.withPermits` and direct/curried `TSemaphore` forms with broad traversal. | Strict-only coordination policy, not permit-leak detection. Narrow unrelated waits when semantics allow; async I/O may intentionally be permit-bound, and moving it outside changes concurrency limits. Named tasks, ordinary nested definitions in v4 and other acquisition APIs are not inferred. |
|
|
624
675
|
| `linteffect/no-yield-with-held-mutable-ref` | Four effectful modifier names: `modifyEffect`, `modifySomeEffect`, `updateEffect`, `updateAndGetEffect`. V4: literal `SynchronizedRef` / `SubscriptionRef` namespaces, direct/curried/terminal-pipe forms and visible waits/current concurrent work through recognised gen/fn callbacks. Legacy: namespace/instance forms with broad traversal. | Strict-only short critical-section policy. Move only independent work outside, retaining a synchronous state transition; splitting state-dependent I/O can lose atomicity. V4 skips ordinary unused helpers, named callback bodies and unrelated object methods. Other modifier names remain outside this rule. |
|
|
625
676
|
| `linteffect/no-unscoped-background-fiber` | V4: direct/curried/terminal-pipe `forkDetach`, including returned/joined handles and a scope inside the detached child. Empty/undefined/inline-options factories stay clean. Legacy: direct `forkDaemon` without a visible `supervised` marker in child work. | Strict-only scoped-lifetime policy: use `forkScoped` / `forkIn` or child ownership. Joining/returning observes or transfers a handle, not scoped teardown. Legacy supervision observes but does not itself interrupt; v4 removed `Effect.supervised`. Intentional detached ownership still warns; stored factory aliases/named options are not inferred. |
|
package/dist/index.d.mts
CHANGED
|
@@ -686,9 +686,6 @@ declare const reactAndRuntimeBoundariesRules: {
|
|
|
686
686
|
effectVersion: 4;
|
|
687
687
|
}];
|
|
688
688
|
"linteffect/no-return-in-callback": "error";
|
|
689
|
-
"linteffect/no-effect-fn-generator": ["error", {
|
|
690
|
-
effectVersion: 4;
|
|
691
|
-
}];
|
|
692
689
|
"linteffect/no-effect-sync-console": "error";
|
|
693
690
|
"linteffect/no-console-in-effect-flow": ["error", {
|
|
694
691
|
effectVersion: 4;
|
|
@@ -794,7 +791,6 @@ declare const reactAndRuntimeBoundariesRules: {
|
|
|
794
791
|
}];
|
|
795
792
|
"linteffect/no-try-catch": "error";
|
|
796
793
|
"linteffect/no-effect-wrapper-alias": "error";
|
|
797
|
-
"linteffect/no-manual-effect-channels": "error";
|
|
798
794
|
"linteffect/no-wrapgraphql-catchall": ["error", {
|
|
799
795
|
effectVersion: 4;
|
|
800
796
|
}];
|
|
@@ -808,7 +804,6 @@ declare const reactAndRuntimeBoundariesRules: {
|
|
|
808
804
|
effectVersion: 4;
|
|
809
805
|
}];
|
|
810
806
|
"linteffect/no-effect-succeed-variable": "error";
|
|
811
|
-
"linteffect/no-effect-type-alias": "error";
|
|
812
807
|
"linteffect/no-public-generic-effect-error": "error";
|
|
813
808
|
"linteffect/no-exception-domain-error": ["error", {
|
|
814
809
|
effectVersion: 4;
|
|
@@ -1313,9 +1308,6 @@ declare const reactAndRuntimeBoundariesRules: {
|
|
|
1313
1308
|
effectVersion: 4;
|
|
1314
1309
|
}];
|
|
1315
1310
|
"linteffect/no-return-in-callback": "error";
|
|
1316
|
-
"linteffect/no-effect-fn-generator": ["error", {
|
|
1317
|
-
effectVersion: 4;
|
|
1318
|
-
}];
|
|
1319
1311
|
"linteffect/no-effect-sync-console": "error";
|
|
1320
1312
|
"linteffect/no-console-in-effect-flow": ["error", {
|
|
1321
1313
|
effectVersion: 4;
|
|
@@ -1421,7 +1413,6 @@ declare const reactAndRuntimeBoundariesRules: {
|
|
|
1421
1413
|
}];
|
|
1422
1414
|
"linteffect/no-try-catch": "error";
|
|
1423
1415
|
"linteffect/no-effect-wrapper-alias": "error";
|
|
1424
|
-
"linteffect/no-manual-effect-channels": "error";
|
|
1425
1416
|
"linteffect/no-wrapgraphql-catchall": ["error", {
|
|
1426
1417
|
effectVersion: 4;
|
|
1427
1418
|
}];
|
|
@@ -1435,7 +1426,6 @@ declare const reactAndRuntimeBoundariesRules: {
|
|
|
1435
1426
|
effectVersion: 4;
|
|
1436
1427
|
}];
|
|
1437
1428
|
"linteffect/no-effect-succeed-variable": "error";
|
|
1438
|
-
"linteffect/no-effect-type-alias": "error";
|
|
1439
1429
|
"linteffect/no-public-generic-effect-error": "error";
|
|
1440
1430
|
"linteffect/no-exception-domain-error": ["error", {
|
|
1441
1431
|
effectVersion: 4;
|
|
@@ -1574,9 +1564,6 @@ declare const reactAndRuntimeBoundariesRules: {
|
|
|
1574
1564
|
effectVersion: 4;
|
|
1575
1565
|
}];
|
|
1576
1566
|
"linteffect/no-return-in-callback": "error";
|
|
1577
|
-
"linteffect/no-effect-fn-generator": ["error", {
|
|
1578
|
-
effectVersion: 4;
|
|
1579
|
-
}];
|
|
1580
1567
|
"linteffect/no-effect-sync-console": "error";
|
|
1581
1568
|
"linteffect/no-console-in-effect-flow": ["error", {
|
|
1582
1569
|
effectVersion: 4;
|
|
@@ -1682,7 +1669,6 @@ declare const reactAndRuntimeBoundariesRules: {
|
|
|
1682
1669
|
}];
|
|
1683
1670
|
"linteffect/no-try-catch": "error";
|
|
1684
1671
|
"linteffect/no-effect-wrapper-alias": "error";
|
|
1685
|
-
"linteffect/no-manual-effect-channels": "error";
|
|
1686
1672
|
"linteffect/no-wrapgraphql-catchall": ["error", {
|
|
1687
1673
|
effectVersion: 4;
|
|
1688
1674
|
}];
|
|
@@ -1696,7 +1682,6 @@ declare const reactAndRuntimeBoundariesRules: {
|
|
|
1696
1682
|
effectVersion: 4;
|
|
1697
1683
|
}];
|
|
1698
1684
|
"linteffect/no-effect-succeed-variable": "error";
|
|
1699
|
-
"linteffect/no-effect-type-alias": "error";
|
|
1700
1685
|
"linteffect/no-public-generic-effect-error": "error";
|
|
1701
1686
|
"linteffect/no-exception-domain-error": ["error", {
|
|
1702
1687
|
effectVersion: 4;
|
|
@@ -2292,9 +2277,6 @@ declare const reactAndRuntimeBoundariesRules: {
|
|
|
2292
2277
|
effectVersion: 4;
|
|
2293
2278
|
}];
|
|
2294
2279
|
"linteffect/no-return-in-callback": "error";
|
|
2295
|
-
"linteffect/no-effect-fn-generator": ["error", {
|
|
2296
|
-
effectVersion: 4;
|
|
2297
|
-
}];
|
|
2298
2280
|
"linteffect/no-effect-sync-console": "error";
|
|
2299
2281
|
"linteffect/no-console-in-effect-flow": ["error", {
|
|
2300
2282
|
effectVersion: 4;
|
|
@@ -2400,7 +2382,6 @@ declare const reactAndRuntimeBoundariesRules: {
|
|
|
2400
2382
|
}];
|
|
2401
2383
|
"linteffect/no-try-catch": "error";
|
|
2402
2384
|
"linteffect/no-effect-wrapper-alias": "error";
|
|
2403
|
-
"linteffect/no-manual-effect-channels": "error";
|
|
2404
2385
|
"linteffect/no-wrapgraphql-catchall": ["error", {
|
|
2405
2386
|
effectVersion: 4;
|
|
2406
2387
|
}];
|
|
@@ -2414,7 +2395,6 @@ declare const reactAndRuntimeBoundariesRules: {
|
|
|
2414
2395
|
effectVersion: 4;
|
|
2415
2396
|
}];
|
|
2416
2397
|
"linteffect/no-effect-succeed-variable": "error";
|
|
2417
|
-
"linteffect/no-effect-type-alias": "error";
|
|
2418
2398
|
"linteffect/no-public-generic-effect-error": "error";
|
|
2419
2399
|
"linteffect/no-exception-domain-error": ["error", {
|
|
2420
2400
|
effectVersion: 4;
|
|
@@ -2554,9 +2534,6 @@ declare const reactAndRuntimeBoundariesRules: {
|
|
|
2554
2534
|
effectVersion: 4;
|
|
2555
2535
|
}];
|
|
2556
2536
|
"linteffect/no-return-in-callback": "error";
|
|
2557
|
-
"linteffect/no-effect-fn-generator": ["error", {
|
|
2558
|
-
effectVersion: 4;
|
|
2559
|
-
}];
|
|
2560
2537
|
"linteffect/no-effect-sync-console": "error";
|
|
2561
2538
|
"linteffect/no-console-in-effect-flow": ["error", {
|
|
2562
2539
|
effectVersion: 4;
|
|
@@ -2662,7 +2639,6 @@ declare const reactAndRuntimeBoundariesRules: {
|
|
|
2662
2639
|
}];
|
|
2663
2640
|
"linteffect/no-try-catch": "error";
|
|
2664
2641
|
"linteffect/no-effect-wrapper-alias": "error";
|
|
2665
|
-
"linteffect/no-manual-effect-channels": "error";
|
|
2666
2642
|
"linteffect/no-wrapgraphql-catchall": ["error", {
|
|
2667
2643
|
effectVersion: 4;
|
|
2668
2644
|
}];
|
|
@@ -2676,7 +2652,6 @@ declare const reactAndRuntimeBoundariesRules: {
|
|
|
2676
2652
|
effectVersion: 4;
|
|
2677
2653
|
}];
|
|
2678
2654
|
"linteffect/no-effect-succeed-variable": "error";
|
|
2679
|
-
"linteffect/no-effect-type-alias": "error";
|
|
2680
2655
|
"linteffect/no-public-generic-effect-error": "error";
|
|
2681
2656
|
"linteffect/no-exception-domain-error": ["error", {
|
|
2682
2657
|
effectVersion: 4;
|
|
@@ -3994,9 +3969,6 @@ declare const effect3: {
|
|
|
3994
3969
|
effectVersion: 3;
|
|
3995
3970
|
}];
|
|
3996
3971
|
"linteffect/no-return-in-callback": "error";
|
|
3997
|
-
"linteffect/no-effect-fn-generator": ["error", {
|
|
3998
|
-
effectVersion: 3;
|
|
3999
|
-
}];
|
|
4000
3972
|
"linteffect/no-effect-sync-console": "error";
|
|
4001
3973
|
"linteffect/no-console-in-effect-flow": ["error", {
|
|
4002
3974
|
effectVersion: 3;
|
|
@@ -4108,7 +4080,6 @@ declare const effect3: {
|
|
|
4108
4080
|
}];
|
|
4109
4081
|
"linteffect/no-try-catch": "error";
|
|
4110
4082
|
"linteffect/no-effect-wrapper-alias": "error";
|
|
4111
|
-
"linteffect/no-manual-effect-channels": "error";
|
|
4112
4083
|
"linteffect/no-wrapgraphql-catchall": ["error", {
|
|
4113
4084
|
effectVersion: 3;
|
|
4114
4085
|
}];
|
|
@@ -4122,7 +4093,6 @@ declare const effect3: {
|
|
|
4122
4093
|
effectVersion: 3;
|
|
4123
4094
|
}];
|
|
4124
4095
|
"linteffect/no-effect-succeed-variable": "error";
|
|
4125
|
-
"linteffect/no-effect-type-alias": "error";
|
|
4126
4096
|
"linteffect/no-public-generic-effect-error": "error";
|
|
4127
4097
|
"linteffect/no-exception-domain-error": ["error", {
|
|
4128
4098
|
effectVersion: 3;
|
|
@@ -4653,9 +4623,6 @@ declare const effect3: {
|
|
|
4653
4623
|
effectVersion: 3;
|
|
4654
4624
|
}];
|
|
4655
4625
|
"linteffect/no-return-in-callback": "error";
|
|
4656
|
-
"linteffect/no-effect-fn-generator": ["error", {
|
|
4657
|
-
effectVersion: 3;
|
|
4658
|
-
}];
|
|
4659
4626
|
"linteffect/no-effect-sync-console": "error";
|
|
4660
4627
|
"linteffect/no-console-in-effect-flow": ["error", {
|
|
4661
4628
|
effectVersion: 3;
|
|
@@ -4767,7 +4734,6 @@ declare const effect3: {
|
|
|
4767
4734
|
}];
|
|
4768
4735
|
"linteffect/no-try-catch": "error";
|
|
4769
4736
|
"linteffect/no-effect-wrapper-alias": "error";
|
|
4770
|
-
"linteffect/no-manual-effect-channels": "error";
|
|
4771
4737
|
"linteffect/no-wrapgraphql-catchall": ["error", {
|
|
4772
4738
|
effectVersion: 3;
|
|
4773
4739
|
}];
|
|
@@ -4781,7 +4747,6 @@ declare const effect3: {
|
|
|
4781
4747
|
effectVersion: 3;
|
|
4782
4748
|
}];
|
|
4783
4749
|
"linteffect/no-effect-succeed-variable": "error";
|
|
4784
|
-
"linteffect/no-effect-type-alias": "error";
|
|
4785
4750
|
"linteffect/no-public-generic-effect-error": "error";
|
|
4786
4751
|
"linteffect/no-exception-domain-error": ["error", {
|
|
4787
4752
|
effectVersion: 3;
|
|
@@ -4930,9 +4895,6 @@ declare const effect3: {
|
|
|
4930
4895
|
effectVersion: 3;
|
|
4931
4896
|
}];
|
|
4932
4897
|
"linteffect/no-return-in-callback": "error";
|
|
4933
|
-
"linteffect/no-effect-fn-generator": ["error", {
|
|
4934
|
-
effectVersion: 3;
|
|
4935
|
-
}];
|
|
4936
4898
|
"linteffect/no-effect-sync-console": "error";
|
|
4937
4899
|
"linteffect/no-console-in-effect-flow": ["error", {
|
|
4938
4900
|
effectVersion: 3;
|
|
@@ -5044,7 +5006,6 @@ declare const effect3: {
|
|
|
5044
5006
|
}];
|
|
5045
5007
|
"linteffect/no-try-catch": "error";
|
|
5046
5008
|
"linteffect/no-effect-wrapper-alias": "error";
|
|
5047
|
-
"linteffect/no-manual-effect-channels": "error";
|
|
5048
5009
|
"linteffect/no-wrapgraphql-catchall": ["error", {
|
|
5049
5010
|
effectVersion: 3;
|
|
5050
5011
|
}];
|
|
@@ -5058,7 +5019,6 @@ declare const effect3: {
|
|
|
5058
5019
|
effectVersion: 3;
|
|
5059
5020
|
}];
|
|
5060
5021
|
"linteffect/no-effect-succeed-variable": "error";
|
|
5061
|
-
"linteffect/no-effect-type-alias": "error";
|
|
5062
5022
|
"linteffect/no-public-generic-effect-error": "error";
|
|
5063
5023
|
"linteffect/no-exception-domain-error": ["error", {
|
|
5064
5024
|
effectVersion: 3;
|
|
@@ -5697,9 +5657,6 @@ declare const effect3: {
|
|
|
5697
5657
|
effectVersion: 3;
|
|
5698
5658
|
}];
|
|
5699
5659
|
"linteffect/no-return-in-callback": "error";
|
|
5700
|
-
"linteffect/no-effect-fn-generator": ["error", {
|
|
5701
|
-
effectVersion: 3;
|
|
5702
|
-
}];
|
|
5703
5660
|
"linteffect/no-effect-sync-console": "error";
|
|
5704
5661
|
"linteffect/no-console-in-effect-flow": ["error", {
|
|
5705
5662
|
effectVersion: 3;
|
|
@@ -5811,7 +5768,6 @@ declare const effect3: {
|
|
|
5811
5768
|
}];
|
|
5812
5769
|
"linteffect/no-try-catch": "error";
|
|
5813
5770
|
"linteffect/no-effect-wrapper-alias": "error";
|
|
5814
|
-
"linteffect/no-manual-effect-channels": "error";
|
|
5815
5771
|
"linteffect/no-wrapgraphql-catchall": ["error", {
|
|
5816
5772
|
effectVersion: 3;
|
|
5817
5773
|
}];
|
|
@@ -5825,7 +5781,6 @@ declare const effect3: {
|
|
|
5825
5781
|
effectVersion: 3;
|
|
5826
5782
|
}];
|
|
5827
5783
|
"linteffect/no-effect-succeed-variable": "error";
|
|
5828
|
-
"linteffect/no-effect-type-alias": "error";
|
|
5829
5784
|
"linteffect/no-public-generic-effect-error": "error";
|
|
5830
5785
|
"linteffect/no-exception-domain-error": ["error", {
|
|
5831
5786
|
effectVersion: 3;
|
|
@@ -5974,9 +5929,6 @@ declare const effect3: {
|
|
|
5974
5929
|
effectVersion: 3;
|
|
5975
5930
|
}];
|
|
5976
5931
|
"linteffect/no-return-in-callback": "error";
|
|
5977
|
-
"linteffect/no-effect-fn-generator": ["error", {
|
|
5978
|
-
effectVersion: 3;
|
|
5979
|
-
}];
|
|
5980
5932
|
"linteffect/no-effect-sync-console": "error";
|
|
5981
5933
|
"linteffect/no-console-in-effect-flow": ["error", {
|
|
5982
5934
|
effectVersion: 3;
|
|
@@ -6088,7 +6040,6 @@ declare const effect3: {
|
|
|
6088
6040
|
}];
|
|
6089
6041
|
"linteffect/no-try-catch": "error";
|
|
6090
6042
|
"linteffect/no-effect-wrapper-alias": "error";
|
|
6091
|
-
"linteffect/no-manual-effect-channels": "error";
|
|
6092
6043
|
"linteffect/no-wrapgraphql-catchall": ["error", {
|
|
6093
6044
|
effectVersion: 3;
|
|
6094
6045
|
}];
|
|
@@ -6102,7 +6053,6 @@ declare const effect3: {
|
|
|
6102
6053
|
effectVersion: 3;
|
|
6103
6054
|
}];
|
|
6104
6055
|
"linteffect/no-effect-succeed-variable": "error";
|
|
6105
|
-
"linteffect/no-effect-type-alias": "error";
|
|
6106
6056
|
"linteffect/no-public-generic-effect-error": "error";
|
|
6107
6057
|
"linteffect/no-exception-domain-error": ["error", {
|
|
6108
6058
|
effectVersion: 3;
|