@opsydyn/oxlint-effect 0.3.0 → 0.4.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 +53 -0
- package/dist/index.d.mts +161 -3
- package/dist/index.mjs +142 -8
- package/dist/index.mjs.map +1 -1
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -25,6 +25,59 @@ export default defineConfig({
|
|
|
25
25
|
the mutable array shape expected by Oxlint's `ExternalPluginEntry[]` config
|
|
26
26
|
type.
|
|
27
27
|
|
|
28
|
+
### Configure One Rule Group
|
|
29
|
+
|
|
30
|
+
Every documented rule group is exported as a config-shaped preset with the same
|
|
31
|
+
shape as `recommended`. For example, teams that only want the DDD/domain
|
|
32
|
+
modeling rules can use `ddd`:
|
|
33
|
+
|
|
34
|
+
```ts
|
|
35
|
+
import { defineConfig } from "oxlint";
|
|
36
|
+
import { ddd } from "@opsydyn/oxlint-effect";
|
|
37
|
+
|
|
38
|
+
export default defineConfig({
|
|
39
|
+
plugins: ["typescript"],
|
|
40
|
+
jsPlugins: [...ddd.jsPlugins],
|
|
41
|
+
rules: ddd.rules,
|
|
42
|
+
});
|
|
43
|
+
```
|
|
44
|
+
|
|
45
|
+
Named group presets:
|
|
46
|
+
|
|
47
|
+
| Preset | Rule Group |
|
|
48
|
+
| --- | --- |
|
|
49
|
+
| `reactAndRuntimeBoundaries` | React and Runtime Boundaries |
|
|
50
|
+
| `effectComposition` | Effect Composition |
|
|
51
|
+
| `concurrencySafety` | Concurrency Safety |
|
|
52
|
+
| `pipelineShapeAndSequencing` | Pipeline Shape and Sequencing |
|
|
53
|
+
| `branchingAndLocalControlFlow` | Branching and Local Control Flow |
|
|
54
|
+
| `optionMatchAndDataNormalization` | Option, Match, and Data Normalization |
|
|
55
|
+
| `atomStateAndPlatformBoundaries` | Atom, State, and Platform Boundaries |
|
|
56
|
+
| `domainModeling` | Domain Modeling |
|
|
57
|
+
| `ddd` | Alias for `domainModeling` |
|
|
58
|
+
|
|
59
|
+
Each preset also has a rule-only export with a `Rules` suffix. Use those when
|
|
60
|
+
you want to compose multiple groups:
|
|
61
|
+
|
|
62
|
+
```ts
|
|
63
|
+
import { defineConfig } from "oxlint";
|
|
64
|
+
import {
|
|
65
|
+
concurrencySafety,
|
|
66
|
+
domainModelingRules,
|
|
67
|
+
effectCompositionRules,
|
|
68
|
+
} from "@opsydyn/oxlint-effect";
|
|
69
|
+
|
|
70
|
+
export default defineConfig({
|
|
71
|
+
plugins: ["typescript"],
|
|
72
|
+
jsPlugins: [...concurrencySafety.jsPlugins],
|
|
73
|
+
rules: {
|
|
74
|
+
...concurrencySafety.rules,
|
|
75
|
+
...domainModelingRules,
|
|
76
|
+
...effectCompositionRules,
|
|
77
|
+
},
|
|
78
|
+
});
|
|
79
|
+
```
|
|
80
|
+
|
|
28
81
|
For local development inside this repository, point `jsPlugins` at the TypeScript source:
|
|
29
82
|
|
|
30
83
|
```ts
|
package/dist/index.d.mts
CHANGED
|
@@ -1,13 +1,171 @@
|
|
|
1
1
|
//#region src/index.d.ts
|
|
2
|
-
declare const
|
|
2
|
+
declare const jsPlugins: readonly [{
|
|
3
|
+
readonly name: "linteffect";
|
|
4
|
+
readonly specifier: "@opsydyn/oxlint-effect";
|
|
5
|
+
}];
|
|
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
|
+
declare const effectCompositionRules: Record<"linteffect/no-effect-never" | "linteffect/no-effect-fn-generator" | "linteffect/no-nested-effect-gen" | "linteffect/no-yield-without-star-in-effect-gen" | "linteffect/no-async-effect-combinator-callback" | "linteffect/no-throw-in-effect-logic" | "linteffect/no-swallowed-catch-all" | "linteffect/no-effect-ignore" | "linteffect/no-try-catch-in-effect-logic" | "linteffect/no-promise-api-in-effect-logic" | "linteffect/no-manual-effect-channels" | "linteffect/no-effect-type-alias" | "linteffect/no-public-generic-effect-error" | "linteffect/no-effect-as" | "linteffect/no-effect-do" | "linteffect/no-effect-bind" | "linteffect/no-effect-async", "error">;
|
|
8
|
+
declare const concurrencySafetyRules: Record<"linteffect/no-unbounded-effect-all" | "linteffect/no-fire-and-forget-fork" | "linteffect/no-fork-in-loop" | "linteffect/no-race-without-cleanup" | "linteffect/no-unobserved-fiber" | "linteffect/no-unbounded-concurrent-retry" | "linteffect/no-blocking-call-in-effect" | "linteffect/no-promise-concurrency-in-effect" | "linteffect/no-shared-mutable-state-across-fibers" | "linteffect/no-timeout-with-noninterruptible-promise", "error">;
|
|
9
|
+
declare const pipelineShapeAndSequencingRules: Record<"linteffect/warn-effect-sync-wrapper" | "linteffect/no-effect-side-effect-wrapper" | "linteffect/no-effect-all-step-sequencing" | "linteffect/no-effect-wrapper-alias" | "linteffect/no-effect-succeed-variable" | "linteffect/no-nested-effect-call" | "linteffect/no-effect-ladder" | "linteffect/no-flatmap-ladder" | "linteffect/no-pipe-ladder" | "linteffect/no-call-tower" | "linteffect/no-effect-orElse-ladder", "error">;
|
|
10
|
+
declare const branchingAndLocalControlFlowRules: Record<"linteffect/no-if-statement" | "linteffect/no-switch-statement" | "linteffect/no-ternary" | "linteffect/no-return-null" | "linteffect/no-arrow-ladder" | "linteffect/no-branch-in-object" | "linteffect/no-iife-wrapper" | "linteffect/no-return-in-arrow" | "linteffect/no-return-in-callback" | "linteffect/no-try-catch", "error">;
|
|
11
|
+
declare const optionMatchAndDataNormalizationRules: Record<"linteffect/no-option-as" | "linteffect/no-match-void-branch" | "linteffect/no-match-effect-branch" | "linteffect/no-model-overlay-cast" | "linteffect/no-unknown-boolean-coercion-helper" | "linteffect/no-fromnullable-nullish-coalesce" | "linteffect/no-option-boolean-normalization" | "linteffect/no-string-sentinel-return" | "linteffect/no-string-sentinel-const", "error">;
|
|
12
|
+
declare const atomStateAndPlatformBoundariesRules: Record<"linteffect/no-effect-sync-console" | "linteffect/no-wrapgraphql-catchall" | "linteffect/no-atom-registry-effect-sync" | "linteffect/no-family-collection-read" | "linteffect/no-naked-object-state-update", "error">;
|
|
13
|
+
declare const domainModelingRules: Record<"linteffect/no-raw-domain-id-alias" | "linteffect/no-boolean-domain-flag" | "linteffect/no-magic-domain-string" | "linteffect/no-raw-domain-primitive-params" | "linteffect/no-raw-time-domain-field" | "linteffect/no-overloaded-options-object" | "linteffect/no-domain-logic-in-conditional" | "linteffect/no-implicit-state-machine-object" | "linteffect/no-adhoc-domain-error" | "linteffect/no-domain-meaning-by-folder-only", "error">;
|
|
14
|
+
declare const allRules: Record<"linteffect/no-react-state" | "linteffect/no-if-statement" | "linteffect/no-switch-statement" | "linteffect/no-ternary" | "linteffect/no-return-null" | "linteffect/no-option-as" | "linteffect/no-effect-never" | "linteffect/no-arrow-ladder" | "linteffect/no-branch-in-object" | "linteffect/no-iife-wrapper" | "linteffect/no-return-in-arrow" | "linteffect/no-return-in-callback" | "linteffect/no-effect-fn-generator" | "linteffect/no-effect-sync-console" | "linteffect/no-nested-effect-gen" | "linteffect/no-yield-without-star-in-effect-gen" | "linteffect/no-match-void-branch" | "linteffect/no-match-effect-branch" | "linteffect/warn-effect-sync-wrapper" | "linteffect/no-effect-side-effect-wrapper" | "linteffect/no-effect-all-step-sequencing" | "linteffect/no-async-effect-combinator-callback" | "linteffect/no-throw-in-effect-logic" | "linteffect/no-or-die-outside-boundary" | "linteffect/no-swallowed-catch-all" | "linteffect/no-effect-ignore" | "linteffect/no-try-catch-in-effect-logic" | "linteffect/no-promise-api-in-effect-logic" | "linteffect/no-try-catch" | "linteffect/no-effect-wrapper-alias" | "linteffect/no-manual-effect-channels" | "linteffect/no-wrapgraphql-catchall" | "linteffect/no-render-side-effects" | "linteffect/no-atom-registry-effect-sync" | "linteffect/no-family-collection-read" | "linteffect/no-inline-runtime-provide" | "linteffect/no-naked-object-state-update" | "linteffect/no-effect-succeed-variable" | "linteffect/no-effect-type-alias" | "linteffect/no-public-generic-effect-error" | "linteffect/no-model-overlay-cast" | "linteffect/no-unknown-boolean-coercion-helper" | "linteffect/no-fromnullable-nullish-coalesce" | "linteffect/no-option-boolean-normalization" | "linteffect/no-string-sentinel-return" | "linteffect/no-string-sentinel-const" | "linteffect/no-raw-domain-id-alias" | "linteffect/no-boolean-domain-flag" | "linteffect/no-magic-domain-string" | "linteffect/no-raw-domain-primitive-params" | "linteffect/no-raw-time-domain-field" | "linteffect/no-overloaded-options-object" | "linteffect/no-domain-logic-in-conditional" | "linteffect/no-implicit-state-machine-object" | "linteffect/no-adhoc-domain-error" | "linteffect/no-domain-meaning-by-folder-only" | "linteffect/no-effect-as" | "linteffect/no-effect-do" | "linteffect/no-effect-bind" | "linteffect/no-runtime-runfork" | "linteffect/no-run-effect-outside-boundary" | "linteffect/no-effect-async" | "linteffect/prevent-dynamic-imports" | "linteffect/no-nested-effect-call" | "linteffect/no-effect-ladder" | "linteffect/no-flatmap-ladder" | "linteffect/no-pipe-ladder" | "linteffect/no-call-tower" | "linteffect/no-effect-orElse-ladder" | "linteffect/no-unbounded-effect-all" | "linteffect/no-fire-and-forget-fork" | "linteffect/no-fork-in-loop" | "linteffect/no-race-without-cleanup" | "linteffect/no-unobserved-fiber" | "linteffect/no-unbounded-concurrent-retry" | "linteffect/no-blocking-call-in-effect" | "linteffect/no-promise-concurrency-in-effect" | "linteffect/no-shared-mutable-state-across-fibers" | "linteffect/no-timeout-with-noninterruptible-promise", "error">;
|
|
15
|
+
declare const ruleGroups: {
|
|
16
|
+
readonly reactAndRuntimeBoundaries: Record<"linteffect/no-react-state" | "linteffect/no-or-die-outside-boundary" | "linteffect/no-render-side-effects" | "linteffect/no-inline-runtime-provide" | "linteffect/no-runtime-runfork" | "linteffect/no-run-effect-outside-boundary" | "linteffect/prevent-dynamic-imports", "error">;
|
|
17
|
+
readonly effectComposition: Record<"linteffect/no-effect-never" | "linteffect/no-effect-fn-generator" | "linteffect/no-nested-effect-gen" | "linteffect/no-yield-without-star-in-effect-gen" | "linteffect/no-async-effect-combinator-callback" | "linteffect/no-throw-in-effect-logic" | "linteffect/no-swallowed-catch-all" | "linteffect/no-effect-ignore" | "linteffect/no-try-catch-in-effect-logic" | "linteffect/no-promise-api-in-effect-logic" | "linteffect/no-manual-effect-channels" | "linteffect/no-effect-type-alias" | "linteffect/no-public-generic-effect-error" | "linteffect/no-effect-as" | "linteffect/no-effect-do" | "linteffect/no-effect-bind" | "linteffect/no-effect-async", "error">;
|
|
18
|
+
readonly concurrencySafety: Record<"linteffect/no-unbounded-effect-all" | "linteffect/no-fire-and-forget-fork" | "linteffect/no-fork-in-loop" | "linteffect/no-race-without-cleanup" | "linteffect/no-unobserved-fiber" | "linteffect/no-unbounded-concurrent-retry" | "linteffect/no-blocking-call-in-effect" | "linteffect/no-promise-concurrency-in-effect" | "linteffect/no-shared-mutable-state-across-fibers" | "linteffect/no-timeout-with-noninterruptible-promise", "error">;
|
|
19
|
+
readonly pipelineShapeAndSequencing: Record<"linteffect/warn-effect-sync-wrapper" | "linteffect/no-effect-side-effect-wrapper" | "linteffect/no-effect-all-step-sequencing" | "linteffect/no-effect-wrapper-alias" | "linteffect/no-effect-succeed-variable" | "linteffect/no-nested-effect-call" | "linteffect/no-effect-ladder" | "linteffect/no-flatmap-ladder" | "linteffect/no-pipe-ladder" | "linteffect/no-call-tower" | "linteffect/no-effect-orElse-ladder", "error">;
|
|
20
|
+
readonly branchingAndLocalControlFlow: Record<"linteffect/no-if-statement" | "linteffect/no-switch-statement" | "linteffect/no-ternary" | "linteffect/no-return-null" | "linteffect/no-arrow-ladder" | "linteffect/no-branch-in-object" | "linteffect/no-iife-wrapper" | "linteffect/no-return-in-arrow" | "linteffect/no-return-in-callback" | "linteffect/no-try-catch", "error">;
|
|
21
|
+
readonly optionMatchAndDataNormalization: Record<"linteffect/no-option-as" | "linteffect/no-match-void-branch" | "linteffect/no-match-effect-branch" | "linteffect/no-model-overlay-cast" | "linteffect/no-unknown-boolean-coercion-helper" | "linteffect/no-fromnullable-nullish-coalesce" | "linteffect/no-option-boolean-normalization" | "linteffect/no-string-sentinel-return" | "linteffect/no-string-sentinel-const", "error">;
|
|
22
|
+
readonly atomStateAndPlatformBoundaries: Record<"linteffect/no-effect-sync-console" | "linteffect/no-wrapgraphql-catchall" | "linteffect/no-atom-registry-effect-sync" | "linteffect/no-family-collection-read" | "linteffect/no-naked-object-state-update", "error">;
|
|
23
|
+
readonly domainModeling: Record<"linteffect/no-raw-domain-id-alias" | "linteffect/no-boolean-domain-flag" | "linteffect/no-magic-domain-string" | "linteffect/no-raw-domain-primitive-params" | "linteffect/no-raw-time-domain-field" | "linteffect/no-overloaded-options-object" | "linteffect/no-domain-logic-in-conditional" | "linteffect/no-implicit-state-machine-object" | "linteffect/no-adhoc-domain-error" | "linteffect/no-domain-meaning-by-folder-only", "error">;
|
|
24
|
+
readonly ddd: Record<"linteffect/no-raw-domain-id-alias" | "linteffect/no-boolean-domain-flag" | "linteffect/no-magic-domain-string" | "linteffect/no-raw-domain-primitive-params" | "linteffect/no-raw-time-domain-field" | "linteffect/no-overloaded-options-object" | "linteffect/no-domain-logic-in-conditional" | "linteffect/no-implicit-state-machine-object" | "linteffect/no-adhoc-domain-error" | "linteffect/no-domain-meaning-by-folder-only", "error">;
|
|
25
|
+
};
|
|
3
26
|
declare const recommended: {
|
|
4
27
|
readonly jsPlugins: readonly [{
|
|
5
28
|
readonly name: "linteffect";
|
|
6
29
|
readonly specifier: "@opsydyn/oxlint-effect";
|
|
7
30
|
}];
|
|
8
|
-
readonly rules: Record
|
|
31
|
+
readonly rules: Record<"linteffect/no-react-state" | "linteffect/no-if-statement" | "linteffect/no-switch-statement" | "linteffect/no-ternary" | "linteffect/no-return-null" | "linteffect/no-option-as" | "linteffect/no-effect-never" | "linteffect/no-arrow-ladder" | "linteffect/no-branch-in-object" | "linteffect/no-iife-wrapper" | "linteffect/no-return-in-arrow" | "linteffect/no-return-in-callback" | "linteffect/no-effect-fn-generator" | "linteffect/no-effect-sync-console" | "linteffect/no-nested-effect-gen" | "linteffect/no-yield-without-star-in-effect-gen" | "linteffect/no-match-void-branch" | "linteffect/no-match-effect-branch" | "linteffect/warn-effect-sync-wrapper" | "linteffect/no-effect-side-effect-wrapper" | "linteffect/no-effect-all-step-sequencing" | "linteffect/no-async-effect-combinator-callback" | "linteffect/no-throw-in-effect-logic" | "linteffect/no-or-die-outside-boundary" | "linteffect/no-swallowed-catch-all" | "linteffect/no-effect-ignore" | "linteffect/no-try-catch-in-effect-logic" | "linteffect/no-promise-api-in-effect-logic" | "linteffect/no-try-catch" | "linteffect/no-effect-wrapper-alias" | "linteffect/no-manual-effect-channels" | "linteffect/no-wrapgraphql-catchall" | "linteffect/no-render-side-effects" | "linteffect/no-atom-registry-effect-sync" | "linteffect/no-family-collection-read" | "linteffect/no-inline-runtime-provide" | "linteffect/no-naked-object-state-update" | "linteffect/no-effect-succeed-variable" | "linteffect/no-effect-type-alias" | "linteffect/no-public-generic-effect-error" | "linteffect/no-model-overlay-cast" | "linteffect/no-unknown-boolean-coercion-helper" | "linteffect/no-fromnullable-nullish-coalesce" | "linteffect/no-option-boolean-normalization" | "linteffect/no-string-sentinel-return" | "linteffect/no-string-sentinel-const" | "linteffect/no-raw-domain-id-alias" | "linteffect/no-boolean-domain-flag" | "linteffect/no-magic-domain-string" | "linteffect/no-raw-domain-primitive-params" | "linteffect/no-raw-time-domain-field" | "linteffect/no-overloaded-options-object" | "linteffect/no-domain-logic-in-conditional" | "linteffect/no-implicit-state-machine-object" | "linteffect/no-adhoc-domain-error" | "linteffect/no-domain-meaning-by-folder-only" | "linteffect/no-effect-as" | "linteffect/no-effect-do" | "linteffect/no-effect-bind" | "linteffect/no-runtime-runfork" | "linteffect/no-run-effect-outside-boundary" | "linteffect/no-effect-async" | "linteffect/prevent-dynamic-imports" | "linteffect/no-nested-effect-call" | "linteffect/no-effect-ladder" | "linteffect/no-flatmap-ladder" | "linteffect/no-pipe-ladder" | "linteffect/no-call-tower" | "linteffect/no-effect-orElse-ladder" | "linteffect/no-unbounded-effect-all" | "linteffect/no-fire-and-forget-fork" | "linteffect/no-fork-in-loop" | "linteffect/no-race-without-cleanup" | "linteffect/no-unobserved-fiber" | "linteffect/no-unbounded-concurrent-retry" | "linteffect/no-blocking-call-in-effect" | "linteffect/no-promise-concurrency-in-effect" | "linteffect/no-shared-mutable-state-across-fibers" | "linteffect/no-timeout-with-noninterruptible-promise", "error">;
|
|
32
|
+
};
|
|
33
|
+
declare const reactAndRuntimeBoundaries: {
|
|
34
|
+
readonly jsPlugins: readonly [{
|
|
35
|
+
readonly name: "linteffect";
|
|
36
|
+
readonly specifier: "@opsydyn/oxlint-effect";
|
|
37
|
+
}];
|
|
38
|
+
readonly rules: 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">;
|
|
39
|
+
};
|
|
40
|
+
declare const effectComposition: {
|
|
41
|
+
readonly jsPlugins: readonly [{
|
|
42
|
+
readonly name: "linteffect";
|
|
43
|
+
readonly specifier: "@opsydyn/oxlint-effect";
|
|
44
|
+
}];
|
|
45
|
+
readonly rules: 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">;
|
|
46
|
+
};
|
|
47
|
+
declare const concurrencySafety: {
|
|
48
|
+
readonly jsPlugins: readonly [{
|
|
49
|
+
readonly name: "linteffect";
|
|
50
|
+
readonly specifier: "@opsydyn/oxlint-effect";
|
|
51
|
+
}];
|
|
52
|
+
readonly rules: Record<"linteffect/no-unbounded-effect-all" | "linteffect/no-fire-and-forget-fork" | "linteffect/no-fork-in-loop" | "linteffect/no-race-without-cleanup" | "linteffect/no-unobserved-fiber" | "linteffect/no-unbounded-concurrent-retry" | "linteffect/no-blocking-call-in-effect" | "linteffect/no-promise-concurrency-in-effect" | "linteffect/no-shared-mutable-state-across-fibers" | "linteffect/no-timeout-with-noninterruptible-promise", "error">;
|
|
53
|
+
};
|
|
54
|
+
declare const pipelineShapeAndSequencing: {
|
|
55
|
+
readonly jsPlugins: readonly [{
|
|
56
|
+
readonly name: "linteffect";
|
|
57
|
+
readonly specifier: "@opsydyn/oxlint-effect";
|
|
58
|
+
}];
|
|
59
|
+
readonly rules: 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">;
|
|
60
|
+
};
|
|
61
|
+
declare const branchingAndLocalControlFlow: {
|
|
62
|
+
readonly jsPlugins: readonly [{
|
|
63
|
+
readonly name: "linteffect";
|
|
64
|
+
readonly specifier: "@opsydyn/oxlint-effect";
|
|
65
|
+
}];
|
|
66
|
+
readonly rules: 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">;
|
|
67
|
+
};
|
|
68
|
+
declare const optionMatchAndDataNormalization: {
|
|
69
|
+
readonly jsPlugins: readonly [{
|
|
70
|
+
readonly name: "linteffect";
|
|
71
|
+
readonly specifier: "@opsydyn/oxlint-effect";
|
|
72
|
+
}];
|
|
73
|
+
readonly rules: 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">;
|
|
74
|
+
};
|
|
75
|
+
declare const atomStateAndPlatformBoundaries: {
|
|
76
|
+
readonly jsPlugins: readonly [{
|
|
77
|
+
readonly name: "linteffect";
|
|
78
|
+
readonly specifier: "@opsydyn/oxlint-effect";
|
|
79
|
+
}];
|
|
80
|
+
readonly rules: 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">;
|
|
81
|
+
};
|
|
82
|
+
declare const domainModeling: {
|
|
83
|
+
readonly jsPlugins: readonly [{
|
|
84
|
+
readonly name: "linteffect";
|
|
85
|
+
readonly specifier: "@opsydyn/oxlint-effect";
|
|
86
|
+
}];
|
|
87
|
+
readonly rules: Record<"linteffect/no-raw-domain-id-alias" | "linteffect/no-boolean-domain-flag" | "linteffect/no-magic-domain-string" | "linteffect/no-raw-domain-primitive-params" | "linteffect/no-raw-time-domain-field" | "linteffect/no-overloaded-options-object" | "linteffect/no-domain-logic-in-conditional" | "linteffect/no-implicit-state-machine-object" | "linteffect/no-adhoc-domain-error" | "linteffect/no-domain-meaning-by-folder-only", "error">;
|
|
88
|
+
};
|
|
89
|
+
declare const ddd: {
|
|
90
|
+
readonly jsPlugins: readonly [{
|
|
91
|
+
readonly name: "linteffect";
|
|
92
|
+
readonly specifier: "@opsydyn/oxlint-effect";
|
|
93
|
+
}];
|
|
94
|
+
readonly rules: Record<"linteffect/no-raw-domain-id-alias" | "linteffect/no-boolean-domain-flag" | "linteffect/no-magic-domain-string" | "linteffect/no-raw-domain-primitive-params" | "linteffect/no-raw-time-domain-field" | "linteffect/no-overloaded-options-object" | "linteffect/no-domain-logic-in-conditional" | "linteffect/no-implicit-state-machine-object" | "linteffect/no-adhoc-domain-error" | "linteffect/no-domain-meaning-by-folder-only", "error">;
|
|
95
|
+
};
|
|
96
|
+
declare const presets: {
|
|
97
|
+
readonly recommended: {
|
|
98
|
+
readonly jsPlugins: readonly [{
|
|
99
|
+
readonly name: "linteffect";
|
|
100
|
+
readonly specifier: "@opsydyn/oxlint-effect";
|
|
101
|
+
}];
|
|
102
|
+
readonly rules: Record<"linteffect/no-react-state" | "linteffect/no-if-statement" | "linteffect/no-switch-statement" | "linteffect/no-ternary" | "linteffect/no-return-null" | "linteffect/no-option-as" | "linteffect/no-effect-never" | "linteffect/no-arrow-ladder" | "linteffect/no-branch-in-object" | "linteffect/no-iife-wrapper" | "linteffect/no-return-in-arrow" | "linteffect/no-return-in-callback" | "linteffect/no-effect-fn-generator" | "linteffect/no-effect-sync-console" | "linteffect/no-nested-effect-gen" | "linteffect/no-yield-without-star-in-effect-gen" | "linteffect/no-match-void-branch" | "linteffect/no-match-effect-branch" | "linteffect/warn-effect-sync-wrapper" | "linteffect/no-effect-side-effect-wrapper" | "linteffect/no-effect-all-step-sequencing" | "linteffect/no-async-effect-combinator-callback" | "linteffect/no-throw-in-effect-logic" | "linteffect/no-or-die-outside-boundary" | "linteffect/no-swallowed-catch-all" | "linteffect/no-effect-ignore" | "linteffect/no-try-catch-in-effect-logic" | "linteffect/no-promise-api-in-effect-logic" | "linteffect/no-try-catch" | "linteffect/no-effect-wrapper-alias" | "linteffect/no-manual-effect-channels" | "linteffect/no-wrapgraphql-catchall" | "linteffect/no-render-side-effects" | "linteffect/no-atom-registry-effect-sync" | "linteffect/no-family-collection-read" | "linteffect/no-inline-runtime-provide" | "linteffect/no-naked-object-state-update" | "linteffect/no-effect-succeed-variable" | "linteffect/no-effect-type-alias" | "linteffect/no-public-generic-effect-error" | "linteffect/no-model-overlay-cast" | "linteffect/no-unknown-boolean-coercion-helper" | "linteffect/no-fromnullable-nullish-coalesce" | "linteffect/no-option-boolean-normalization" | "linteffect/no-string-sentinel-return" | "linteffect/no-string-sentinel-const" | "linteffect/no-raw-domain-id-alias" | "linteffect/no-boolean-domain-flag" | "linteffect/no-magic-domain-string" | "linteffect/no-raw-domain-primitive-params" | "linteffect/no-raw-time-domain-field" | "linteffect/no-overloaded-options-object" | "linteffect/no-domain-logic-in-conditional" | "linteffect/no-implicit-state-machine-object" | "linteffect/no-adhoc-domain-error" | "linteffect/no-domain-meaning-by-folder-only" | "linteffect/no-effect-as" | "linteffect/no-effect-do" | "linteffect/no-effect-bind" | "linteffect/no-runtime-runfork" | "linteffect/no-run-effect-outside-boundary" | "linteffect/no-effect-async" | "linteffect/prevent-dynamic-imports" | "linteffect/no-nested-effect-call" | "linteffect/no-effect-ladder" | "linteffect/no-flatmap-ladder" | "linteffect/no-pipe-ladder" | "linteffect/no-call-tower" | "linteffect/no-effect-orElse-ladder" | "linteffect/no-unbounded-effect-all" | "linteffect/no-fire-and-forget-fork" | "linteffect/no-fork-in-loop" | "linteffect/no-race-without-cleanup" | "linteffect/no-unobserved-fiber" | "linteffect/no-unbounded-concurrent-retry" | "linteffect/no-blocking-call-in-effect" | "linteffect/no-promise-concurrency-in-effect" | "linteffect/no-shared-mutable-state-across-fibers" | "linteffect/no-timeout-with-noninterruptible-promise", "error">;
|
|
103
|
+
};
|
|
104
|
+
readonly reactAndRuntimeBoundaries: {
|
|
105
|
+
readonly jsPlugins: readonly [{
|
|
106
|
+
readonly name: "linteffect";
|
|
107
|
+
readonly specifier: "@opsydyn/oxlint-effect";
|
|
108
|
+
}];
|
|
109
|
+
readonly rules: 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">;
|
|
110
|
+
};
|
|
111
|
+
readonly effectComposition: {
|
|
112
|
+
readonly jsPlugins: readonly [{
|
|
113
|
+
readonly name: "linteffect";
|
|
114
|
+
readonly specifier: "@opsydyn/oxlint-effect";
|
|
115
|
+
}];
|
|
116
|
+
readonly rules: 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">;
|
|
117
|
+
};
|
|
118
|
+
readonly concurrencySafety: {
|
|
119
|
+
readonly jsPlugins: readonly [{
|
|
120
|
+
readonly name: "linteffect";
|
|
121
|
+
readonly specifier: "@opsydyn/oxlint-effect";
|
|
122
|
+
}];
|
|
123
|
+
readonly rules: Record<"linteffect/no-unbounded-effect-all" | "linteffect/no-fire-and-forget-fork" | "linteffect/no-fork-in-loop" | "linteffect/no-race-without-cleanup" | "linteffect/no-unobserved-fiber" | "linteffect/no-unbounded-concurrent-retry" | "linteffect/no-blocking-call-in-effect" | "linteffect/no-promise-concurrency-in-effect" | "linteffect/no-shared-mutable-state-across-fibers" | "linteffect/no-timeout-with-noninterruptible-promise", "error">;
|
|
124
|
+
};
|
|
125
|
+
readonly pipelineShapeAndSequencing: {
|
|
126
|
+
readonly jsPlugins: readonly [{
|
|
127
|
+
readonly name: "linteffect";
|
|
128
|
+
readonly specifier: "@opsydyn/oxlint-effect";
|
|
129
|
+
}];
|
|
130
|
+
readonly rules: 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">;
|
|
131
|
+
};
|
|
132
|
+
readonly branchingAndLocalControlFlow: {
|
|
133
|
+
readonly jsPlugins: readonly [{
|
|
134
|
+
readonly name: "linteffect";
|
|
135
|
+
readonly specifier: "@opsydyn/oxlint-effect";
|
|
136
|
+
}];
|
|
137
|
+
readonly rules: 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">;
|
|
138
|
+
};
|
|
139
|
+
readonly optionMatchAndDataNormalization: {
|
|
140
|
+
readonly jsPlugins: readonly [{
|
|
141
|
+
readonly name: "linteffect";
|
|
142
|
+
readonly specifier: "@opsydyn/oxlint-effect";
|
|
143
|
+
}];
|
|
144
|
+
readonly rules: 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">;
|
|
145
|
+
};
|
|
146
|
+
readonly atomStateAndPlatformBoundaries: {
|
|
147
|
+
readonly jsPlugins: readonly [{
|
|
148
|
+
readonly name: "linteffect";
|
|
149
|
+
readonly specifier: "@opsydyn/oxlint-effect";
|
|
150
|
+
}];
|
|
151
|
+
readonly rules: 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">;
|
|
152
|
+
};
|
|
153
|
+
readonly domainModeling: {
|
|
154
|
+
readonly jsPlugins: readonly [{
|
|
155
|
+
readonly name: "linteffect";
|
|
156
|
+
readonly specifier: "@opsydyn/oxlint-effect";
|
|
157
|
+
}];
|
|
158
|
+
readonly rules: Record<"linteffect/no-raw-domain-id-alias" | "linteffect/no-boolean-domain-flag" | "linteffect/no-magic-domain-string" | "linteffect/no-raw-domain-primitive-params" | "linteffect/no-raw-time-domain-field" | "linteffect/no-overloaded-options-object" | "linteffect/no-domain-logic-in-conditional" | "linteffect/no-implicit-state-machine-object" | "linteffect/no-adhoc-domain-error" | "linteffect/no-domain-meaning-by-folder-only", "error">;
|
|
159
|
+
};
|
|
160
|
+
readonly ddd: {
|
|
161
|
+
readonly jsPlugins: readonly [{
|
|
162
|
+
readonly name: "linteffect";
|
|
163
|
+
readonly specifier: "@opsydyn/oxlint-effect";
|
|
164
|
+
}];
|
|
165
|
+
readonly rules: Record<"linteffect/no-raw-domain-id-alias" | "linteffect/no-boolean-domain-flag" | "linteffect/no-magic-domain-string" | "linteffect/no-raw-domain-primitive-params" | "linteffect/no-raw-time-domain-field" | "linteffect/no-overloaded-options-object" | "linteffect/no-domain-logic-in-conditional" | "linteffect/no-implicit-state-machine-object" | "linteffect/no-adhoc-domain-error" | "linteffect/no-domain-meaning-by-folder-only", "error">;
|
|
166
|
+
};
|
|
9
167
|
};
|
|
10
168
|
declare const _default: import("@oxlint/plugins").Plugin;
|
|
11
169
|
//#endregion
|
|
12
|
-
export { allRules, _default as default, recommended };
|
|
170
|
+
export { allRules, atomStateAndPlatformBoundaries, atomStateAndPlatformBoundariesRules, branchingAndLocalControlFlow, branchingAndLocalControlFlowRules, concurrencySafety, concurrencySafetyRules, ddd, _default as default, domainModeling, domainModelingRules, effectComposition, effectCompositionRules, jsPlugins, optionMatchAndDataNormalization, optionMatchAndDataNormalizationRules, pipelineShapeAndSequencing, pipelineShapeAndSequencingRules, presets, reactAndRuntimeBoundaries, reactAndRuntimeBoundariesRules, recommended, ruleGroups };
|
|
13
171
|
//# sourceMappingURL=index.d.mts.map
|
package/dist/index.mjs
CHANGED
|
@@ -2183,19 +2183,153 @@ const rules = {
|
|
|
2183
2183
|
"no-shared-mutable-state-across-fibers": noSharedMutableStateAcrossFibers,
|
|
2184
2184
|
"no-timeout-with-noninterruptible-promise": noTimeoutWithNoninterruptiblePromise
|
|
2185
2185
|
};
|
|
2186
|
-
|
|
2187
|
-
|
|
2188
|
-
|
|
2189
|
-
|
|
2190
|
-
|
|
2191
|
-
|
|
2192
|
-
|
|
2186
|
+
function rulesFromNames(ruleNames) {
|
|
2187
|
+
return Object.fromEntries(ruleNames.map((ruleName) => [`linteffect/${ruleName}`, "error"]));
|
|
2188
|
+
}
|
|
2189
|
+
function presetFor(groupRules) {
|
|
2190
|
+
return {
|
|
2191
|
+
jsPlugins,
|
|
2192
|
+
rules: groupRules
|
|
2193
|
+
};
|
|
2194
|
+
}
|
|
2195
|
+
const jsPlugins = [{
|
|
2196
|
+
name: "linteffect",
|
|
2197
|
+
specifier: "@opsydyn/oxlint-effect"
|
|
2198
|
+
}];
|
|
2199
|
+
const reactAndRuntimeBoundariesRules = rulesFromNames([
|
|
2200
|
+
"no-react-state",
|
|
2201
|
+
"no-runtime-runfork",
|
|
2202
|
+
"no-run-effect-outside-boundary",
|
|
2203
|
+
"no-or-die-outside-boundary",
|
|
2204
|
+
"prevent-dynamic-imports",
|
|
2205
|
+
"no-render-side-effects",
|
|
2206
|
+
"no-inline-runtime-provide"
|
|
2207
|
+
]);
|
|
2208
|
+
const effectCompositionRules = rulesFromNames([
|
|
2209
|
+
"no-effect-as",
|
|
2210
|
+
"no-effect-do",
|
|
2211
|
+
"no-effect-bind",
|
|
2212
|
+
"no-effect-async",
|
|
2213
|
+
"no-effect-ignore",
|
|
2214
|
+
"no-effect-never",
|
|
2215
|
+
"no-effect-fn-generator",
|
|
2216
|
+
"no-nested-effect-gen",
|
|
2217
|
+
"no-yield-without-star-in-effect-gen",
|
|
2218
|
+
"no-async-effect-combinator-callback",
|
|
2219
|
+
"no-throw-in-effect-logic",
|
|
2220
|
+
"no-try-catch-in-effect-logic",
|
|
2221
|
+
"no-promise-api-in-effect-logic",
|
|
2222
|
+
"no-swallowed-catch-all",
|
|
2223
|
+
"no-manual-effect-channels",
|
|
2224
|
+
"no-effect-type-alias",
|
|
2225
|
+
"no-public-generic-effect-error"
|
|
2226
|
+
]);
|
|
2227
|
+
const concurrencySafetyRules = rulesFromNames([
|
|
2228
|
+
"no-unbounded-effect-all",
|
|
2229
|
+
"no-fire-and-forget-fork",
|
|
2230
|
+
"no-fork-in-loop",
|
|
2231
|
+
"no-race-without-cleanup",
|
|
2232
|
+
"no-unobserved-fiber",
|
|
2233
|
+
"no-unbounded-concurrent-retry",
|
|
2234
|
+
"no-blocking-call-in-effect",
|
|
2235
|
+
"no-promise-concurrency-in-effect",
|
|
2236
|
+
"no-shared-mutable-state-across-fibers",
|
|
2237
|
+
"no-timeout-with-noninterruptible-promise"
|
|
2238
|
+
]);
|
|
2239
|
+
const pipelineShapeAndSequencingRules = rulesFromNames([
|
|
2240
|
+
"no-nested-effect-call",
|
|
2241
|
+
"no-effect-ladder",
|
|
2242
|
+
"no-flatmap-ladder",
|
|
2243
|
+
"no-pipe-ladder",
|
|
2244
|
+
"no-call-tower",
|
|
2245
|
+
"no-effect-orElse-ladder",
|
|
2246
|
+
"no-effect-wrapper-alias",
|
|
2247
|
+
"warn-effect-sync-wrapper",
|
|
2248
|
+
"no-effect-side-effect-wrapper",
|
|
2249
|
+
"no-effect-all-step-sequencing",
|
|
2250
|
+
"no-effect-succeed-variable"
|
|
2251
|
+
]);
|
|
2252
|
+
const branchingAndLocalControlFlowRules = rulesFromNames([
|
|
2253
|
+
"no-if-statement",
|
|
2254
|
+
"no-switch-statement",
|
|
2255
|
+
"no-ternary",
|
|
2256
|
+
"no-try-catch",
|
|
2257
|
+
"no-arrow-ladder",
|
|
2258
|
+
"no-iife-wrapper",
|
|
2259
|
+
"no-return-in-arrow",
|
|
2260
|
+
"no-return-in-callback",
|
|
2261
|
+
"no-return-null",
|
|
2262
|
+
"no-branch-in-object"
|
|
2263
|
+
]);
|
|
2264
|
+
const optionMatchAndDataNormalizationRules = rulesFromNames([
|
|
2265
|
+
"no-option-as",
|
|
2266
|
+
"no-match-void-branch",
|
|
2267
|
+
"no-match-effect-branch",
|
|
2268
|
+
"no-model-overlay-cast",
|
|
2269
|
+
"no-unknown-boolean-coercion-helper",
|
|
2270
|
+
"no-fromnullable-nullish-coalesce",
|
|
2271
|
+
"no-option-boolean-normalization",
|
|
2272
|
+
"no-string-sentinel-return",
|
|
2273
|
+
"no-string-sentinel-const"
|
|
2274
|
+
]);
|
|
2275
|
+
const atomStateAndPlatformBoundariesRules = rulesFromNames([
|
|
2276
|
+
"no-effect-sync-console",
|
|
2277
|
+
"no-atom-registry-effect-sync",
|
|
2278
|
+
"no-family-collection-read",
|
|
2279
|
+
"no-naked-object-state-update",
|
|
2280
|
+
"no-wrapgraphql-catchall"
|
|
2281
|
+
]);
|
|
2282
|
+
const domainModelingRules = rulesFromNames([
|
|
2283
|
+
"no-raw-domain-id-alias",
|
|
2284
|
+
"no-boolean-domain-flag",
|
|
2285
|
+
"no-magic-domain-string",
|
|
2286
|
+
"no-raw-domain-primitive-params",
|
|
2287
|
+
"no-raw-time-domain-field",
|
|
2288
|
+
"no-overloaded-options-object",
|
|
2289
|
+
"no-domain-logic-in-conditional",
|
|
2290
|
+
"no-implicit-state-machine-object",
|
|
2291
|
+
"no-adhoc-domain-error",
|
|
2292
|
+
"no-domain-meaning-by-folder-only"
|
|
2293
|
+
]);
|
|
2294
|
+
const allRules = rulesFromNames(Object.keys(rules));
|
|
2295
|
+
const ruleGroups = {
|
|
2296
|
+
reactAndRuntimeBoundaries: reactAndRuntimeBoundariesRules,
|
|
2297
|
+
effectComposition: effectCompositionRules,
|
|
2298
|
+
concurrencySafety: concurrencySafetyRules,
|
|
2299
|
+
pipelineShapeAndSequencing: pipelineShapeAndSequencingRules,
|
|
2300
|
+
branchingAndLocalControlFlow: branchingAndLocalControlFlowRules,
|
|
2301
|
+
optionMatchAndDataNormalization: optionMatchAndDataNormalizationRules,
|
|
2302
|
+
atomStateAndPlatformBoundaries: atomStateAndPlatformBoundariesRules,
|
|
2303
|
+
domainModeling: domainModelingRules,
|
|
2304
|
+
ddd: domainModelingRules
|
|
2305
|
+
};
|
|
2306
|
+
const recommended = presetFor(allRules);
|
|
2307
|
+
const reactAndRuntimeBoundaries = presetFor(reactAndRuntimeBoundariesRules);
|
|
2308
|
+
const effectComposition = presetFor(effectCompositionRules);
|
|
2309
|
+
const concurrencySafety = presetFor(concurrencySafetyRules);
|
|
2310
|
+
const pipelineShapeAndSequencing = presetFor(pipelineShapeAndSequencingRules);
|
|
2311
|
+
const branchingAndLocalControlFlow = presetFor(branchingAndLocalControlFlowRules);
|
|
2312
|
+
const optionMatchAndDataNormalization = presetFor(optionMatchAndDataNormalizationRules);
|
|
2313
|
+
const atomStateAndPlatformBoundaries = presetFor(atomStateAndPlatformBoundariesRules);
|
|
2314
|
+
const domainModeling = presetFor(domainModelingRules);
|
|
2315
|
+
const ddd = domainModeling;
|
|
2316
|
+
const presets = {
|
|
2317
|
+
recommended,
|
|
2318
|
+
reactAndRuntimeBoundaries,
|
|
2319
|
+
effectComposition,
|
|
2320
|
+
concurrencySafety,
|
|
2321
|
+
pipelineShapeAndSequencing,
|
|
2322
|
+
branchingAndLocalControlFlow,
|
|
2323
|
+
optionMatchAndDataNormalization,
|
|
2324
|
+
atomStateAndPlatformBoundaries,
|
|
2325
|
+
domainModeling,
|
|
2326
|
+
ddd
|
|
2193
2327
|
};
|
|
2194
2328
|
var src_default = definePlugin({
|
|
2195
2329
|
meta: { name: "linteffect" },
|
|
2196
2330
|
rules
|
|
2197
2331
|
});
|
|
2198
2332
|
//#endregion
|
|
2199
|
-
export { allRules, src_default as default, recommended };
|
|
2333
|
+
export { allRules, atomStateAndPlatformBoundaries, atomStateAndPlatformBoundariesRules, branchingAndLocalControlFlow, branchingAndLocalControlFlowRules, concurrencySafety, concurrencySafetyRules, ddd, src_default as default, domainModeling, domainModelingRules, effectComposition, effectCompositionRules, jsPlugins, optionMatchAndDataNormalization, optionMatchAndDataNormalizationRules, pipelineShapeAndSequencing, pipelineShapeAndSequencingRules, presets, reactAndRuntimeBoundaries, reactAndRuntimeBoundariesRules, recommended, ruleGroups };
|
|
2200
2334
|
|
|
2201
2335
|
//# sourceMappingURL=index.mjs.map
|